scpi-parser, adopted from github

Dependents:   scpi_parser_test

common/scpi-def.h

Committer:
iesensor
Date:
2014-11-14
Revision:
0:d8aca47812e0

File content as of revision 0:d8aca47812e0:

#ifndef __SCPI_DEF_H_
#define __SCPI_DEF_H_

#include "scpi/scpi.h"

#ifdef  __cplusplus
extern "C" {
#endif

extern scpi_t scpi_context;

size_t SCPI_Write(scpi_t * context, const char * data, size_t len);
int SCPI_Error(scpi_t * context, int_fast16_t err);
scpi_result_t SCPI_Control(scpi_t * context, scpi_ctrl_name_t ctrl, scpi_reg_val_t val);
scpi_result_t SCPI_Reset(scpi_t * context);
scpi_result_t SCPI_Test(scpi_t * context);
scpi_result_t SCPI_Flush(scpi_t * context);


scpi_result_t SCPI_SystemCommTcpipControlQ(scpi_t * context);

#ifdef  __cplusplus
}
#endif

#endif // __SCPI_DEF_H_