ZMOD4510 Nitrogen Dioxide and Ozone Firmware Documentation |

Data Structures | Enumerations | Functions
escom.h File Reference
Hardware Abstraction Layer API » ComBoard HAL » ESCom Board API

ESCom board type and function declarations. More...

Go to the source code of this file.

## Data Structures
struct | ESComInterface_t

## Enumerations
enum | ESComErrorScope_t { iesLibUSB = 0x11, iesI2C = 0x12, iesCommand = 0x14 }
enum | ESComMode_t { emUSB, emEVK }

## Functions
int | ESCom_Find (ESComInterface_t *boards, int *count)
int | ESCom_Connect (ESComInterface_t *board)
int | ESCom_Disconnect (ESComInterface_t *board)
int | ESCom_SetPower (ESComInterface_t *board, bool on)
int | ESCom_I2CWrite (ESComInterface_t *board, uint8_t slAddr, uint8_t *wData1, int wSize1, uint8_t *wData2, int wSize2)
int | ESCom_I2CRead (ESComInterface_t *board, uint8_t slAddr, uint8_t *wData, int wSize, uint8_t *rData, int rSize)
int | ESCom_GetSensorVoltage (ESComInterface_t *board, float *voltage)
char const * | ESCom_GetErrorString (int error, int scope, char *buf, int bufLen)