| | |
| | | typedef struct _scpi_parser_state_t scpi_parser_state_t; |
| | | |
| | | typedef scpi_result_t(*scpi_command_callback_t)(scpi_t *); |
| | | typedef int32_t(*scpi_test_command_callback_t)(scpi_t *); |
| | | |
| | | /* scpi error queue */ |
| | | typedef void * scpi_error_queue_t; |
| | |
| | | SCPI_NUM_DOWN, |
| | | SCPI_NUM_NAN, |
| | | SCPI_NUM_INF, |
| | | SCPI_NUM_NINF |
| | | SCPI_NUM_NINF, |
| | | SCPI_NUM_AUTO |
| | | }; |
| | | typedef enum _scpi_special_number_t scpi_special_number_t; |
| | | |
| | |
| | | scpi_write_control_t control; |
| | | scpi_command_callback_t flush; |
| | | scpi_command_callback_t reset; |
| | | scpi_test_command_callback_t test; |
| | | }; |
| | | |
| | | struct _scpi_t { |