OWGridEye Library for Arduino  version: 1.0.0
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros
grideye_api_lv1.c File Reference

Macros

#define SNR_SZ_X   (8)
 
#define SNR_SZ_Y   (8)
 
#define SNR_SZ   (SNR_SZ_X * SNR_SZ_Y)
 

Functions

BOOL bAMG_PUB_I2C_Read (UCHAR ucI2cAddr, UCHAR ucRegAddr, UCHAR ucSize, UCHAR *ucDstAddr)
 
int16_t shAMG_PUB_TMP_ConvThermistor (UCHAR aucRegVal[2])
 
int16_t shAMG_PUB_TMP_ConvTemperature (UCHAR aucRegVal[2])
 
void vAMG_PUB_TMP_ConvTemperature64 (UCHAR *pucRegVal, int16_t *pshVal)
 
int16_t shAMG_PUB_CMN_ConvFtoS (float fVal)
 
float fAMG_PUB_CMN_ConvStoF (int16_t shVal)
 

Macro Definition Documentation

#define SNR_SZ   (SNR_SZ_X * SNR_SZ_Y)
#define SNR_SZ_X   (8)
#define SNR_SZ_Y   (8)

Function Documentation

BOOL bAMG_PUB_I2C_Read ( UCHAR  ucI2cAddr,
UCHAR  ucRegAddr,
UCHAR  ucSize,
UCHAR ucDstAddr 
)
float fAMG_PUB_CMN_ConvStoF ( int16_t  shVal)
int16_t shAMG_PUB_CMN_ConvFtoS ( float  fVal)
int16_t shAMG_PUB_TMP_ConvTemperature ( UCHAR  aucRegVal[2])
int16_t shAMG_PUB_TMP_ConvThermistor ( UCHAR  aucRegVal[2])
void vAMG_PUB_TMP_ConvTemperature64 ( UCHAR pucRegVal,
int16_t *  pshVal 
)