ZMOD4510 Nitrogen Dioxide and Ozone Firmware Documentation

HiCom board type and function declarations. More...

Go to the source code of this file.

Data Structures

struct  HiComInterface_t
 

Macros

#define HICOM_NAME   "Dual RS232-HS A"
 
#define HICOM_I2C_SPEED   100000
 

Typedefs

typedef FT_STATUS HiComStatus_t
 
typedef FT_HANDLE HiComHandle_t
 

Enumerations

enum  HiComErrorScope_t { iesFTDI = 0x21 }
 

Functions

int HiCom_Find (HiComInterface_t *board, int *count)
 Enumerate HiCom boards Scans USB ports for connected HiCom boards. More...
 
int HiCom_Connect (HiComInterface_t *board)
 Connect a HiCom instance Tries to connect to an interface that has been discovered with HiCom_Find() previously. More...
 
int HiCom_Disconnect (HiComInterface_t *board)
 Disconnect a HicomBoard. More...
 
int HiCom_SetPower (HiComInterface_t *board, bool on)
 Switch sensor power supply on or off. More...
 
int HiCom_I2CWrite (HiComInterface_t *board, uint8_t slAddr, uint8_t *wData1, int wSize1, uint8_t *wData2, int wSize2)
 
int HiCom_I2CRead (HiComInterface_t *board, uint8_t slAddr, uint8_t *wData, int wSize, uint8_t *rData, int rSize)
 
char const * HiCom_GetErrorString (int error, int scope, char *buf, int bufLen)