| | |
| | | /*- |
| | | * Copyright (c) 2012-2013 Jan Breuer, |
| | | * Copyright (c) 2013 Jan Breuer |
| | | * Richard.hmm |
| | | * Copyright (c) 2012 Jan Breuer |
| | | * |
| | | * All Rights Reserved |
| | | * |
| | |
| | | extern "C" { |
| | | #endif |
| | | |
| | | #define FALSE false |
| | | #define TRUE true |
| | | #ifndef FALSE |
| | | #define FALSE 0 |
| | | #endif |
| | | #ifndef TRUE |
| | | #define TRUE (!FALSE) |
| | | #endif |
| | | |
| | | /* basic data types */ |
| | | typedef bool bool_t; |
| | |
| | | SCPI_UNIT_OHM, |
| | | SCPI_UNIT_HERTZ, |
| | | SCPI_UNIT_CELSIUS, |
| | | SCPI_UNIT_SECONDS |
| | | SCPI_UNIT_SECONDS, |
| | | SCPI_UNIT_DISTANCE |
| | | }; |
| | | typedef enum _scpi_unit_t scpi_unit_t; |
| | | |
| | |
| | | const scpi_unit_def_t * units; |
| | | const scpi_special_number_def_t * special_numbers; |
| | | void * user_context; |
| | | const char * idn[4]; |
| | | }; |
| | | |
| | | #ifdef __cplusplus |