You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
716 B
27 lines
716 B
9 years ago
|
#pragma once
|
||
|
#include <stdint.h>
|
||
|
#include <stdbool.h>
|
||
|
|
||
|
#include "scpi_parser.h"
|
||
|
#include "scpi_errors.h"
|
||
|
#include "scpi_regs.h"
|
||
|
|
||
|
|
||
|
/** *CLS command callback - clear non-SCPI device state */
|
||
|
extern __attribute__((weak)) void scpi_user_CLS(void);
|
||
|
|
||
|
/** *RST command callback - reset non-SCPI device state */
|
||
|
extern __attribute__((weak)) void scpi_user_RST(void);
|
||
|
|
||
|
/** *TST? command callback - perform self test and send response back. */
|
||
|
extern __attribute__((weak)) void scpi_user_TSTq(void);
|
||
|
|
||
|
/** Get device *IDN? string. */
|
||
|
extern const char *scpi_device_identifier(void);
|
||
|
|
||
|
/** Get device version string. */
|
||
|
extern const char *scpi_device_version(void);
|
||
|
|
||
|
// Provides:
|
||
|
// const SCPI_command_t scpi_commands_builtin[];
|