EFR32 Mighty Gecko 1 Software Documentation
efr32mg1-doc-5.1.2
|
CCS811 error code macro definitions.
Macros | |
#define | CCS811_ERROR_APPLICATION_NOT_PRESENT 0x0001 |
#define | CCS811_ERROR_DRIVER_NOT_INITIALIZED 0x0003 |
#define | CCS811_ERROR_FIRMWARE_UPDATE_FAILED 0x0006 |
#define | CCS811_ERROR_I2C_TRANSACTION_FAILED 0x0004 |
#define | CCS811_ERROR_INIT_FAILED 0x0005 |
#define | CCS811_ERROR_NOT_IN_APPLICATION_MODE 0x0002 |
#define | CCS811_OK 0x0000 |
#define CCS811_ERROR_APPLICATION_NOT_PRESENT 0x0001 |
Application firmware is not present
Definition at line 66 of file ccs811.h.
Referenced by CCS811_startApplication().
#define CCS811_ERROR_DRIVER_NOT_INITIALIZED 0x0003 |
#define CCS811_ERROR_FIRMWARE_UPDATE_FAILED 0x0006 |
#define CCS811_ERROR_I2C_TRANSACTION_FAILED 0x0004 |
I2C transaction failed
Definition at line 69 of file ccs811.h.
Referenced by CCS811_getMeasurement(), CCS811_getRawData(), CCS811_readMailbox(), CCS811_setEnvData(), CCS811_setMeasureMode(), and CCS811_softwareReset().
#define CCS811_ERROR_INIT_FAILED 0x0005 |
#define CCS811_ERROR_NOT_IN_APPLICATION_MODE 0x0002 |
The part is not in application mode
Definition at line 67 of file ccs811.h.
Referenced by CCS811_startApplication().
#define CCS811_OK 0x0000 |
No errors
Definition at line 65 of file ccs811.h.
Referenced by CCS811_deInit(), CCS811_getMeasurement(), CCS811_getRawData(), CCS811_init(), CCS811_isDataAvailable(), CCS811_readMailbox(), CCS811_setEnvData(), CCS811_setMeasureMode(), and CCS811_softwareReset().