scpi-parser, adopted from github
common/scpi-def.h@0:d8aca47812e0, 2014-11-14 (annotated)
- Committer:
- iesensor
- Date:
- Fri Nov 14 01:07:59 2014 +0000
- Revision:
- 0:d8aca47812e0
tested on K64F
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
iesensor | 0:d8aca47812e0 | 1 | #ifndef __SCPI_DEF_H_ |
iesensor | 0:d8aca47812e0 | 2 | #define __SCPI_DEF_H_ |
iesensor | 0:d8aca47812e0 | 3 | |
iesensor | 0:d8aca47812e0 | 4 | #include "scpi/scpi.h" |
iesensor | 0:d8aca47812e0 | 5 | |
iesensor | 0:d8aca47812e0 | 6 | #ifdef __cplusplus |
iesensor | 0:d8aca47812e0 | 7 | extern "C" { |
iesensor | 0:d8aca47812e0 | 8 | #endif |
iesensor | 0:d8aca47812e0 | 9 | |
iesensor | 0:d8aca47812e0 | 10 | extern scpi_t scpi_context; |
iesensor | 0:d8aca47812e0 | 11 | |
iesensor | 0:d8aca47812e0 | 12 | size_t SCPI_Write(scpi_t * context, const char * data, size_t len); |
iesensor | 0:d8aca47812e0 | 13 | int SCPI_Error(scpi_t * context, int_fast16_t err); |
iesensor | 0:d8aca47812e0 | 14 | scpi_result_t SCPI_Control(scpi_t * context, scpi_ctrl_name_t ctrl, scpi_reg_val_t val); |
iesensor | 0:d8aca47812e0 | 15 | scpi_result_t SCPI_Reset(scpi_t * context); |
iesensor | 0:d8aca47812e0 | 16 | scpi_result_t SCPI_Test(scpi_t * context); |
iesensor | 0:d8aca47812e0 | 17 | scpi_result_t SCPI_Flush(scpi_t * context); |
iesensor | 0:d8aca47812e0 | 18 | |
iesensor | 0:d8aca47812e0 | 19 | |
iesensor | 0:d8aca47812e0 | 20 | scpi_result_t SCPI_SystemCommTcpipControlQ(scpi_t * context); |
iesensor | 0:d8aca47812e0 | 21 | |
iesensor | 0:d8aca47812e0 | 22 | #ifdef __cplusplus |
iesensor | 0:d8aca47812e0 | 23 | } |
iesensor | 0:d8aca47812e0 | 24 | #endif |
iesensor | 0:d8aca47812e0 | 25 | |
iesensor | 0:d8aca47812e0 | 26 | #endif // __SCPI_DEF_H_ |
iesensor | 0:d8aca47812e0 | 27 |