EFR32 Mighty Gecko 1 Software Documentation  efr32mg1-doc-5.1.2

Detailed Description

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
 

Macro Definition Documentation

#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

The driver is not initialized

Definition at line 68 of file ccs811.h.

#define CCS811_ERROR_FIRMWARE_UPDATE_FAILED   0x0006

The firmware update was unsuccessful

Definition at line 71 of file ccs811.h.

#define CCS811_ERROR_I2C_TRANSACTION_FAILED   0x0004
#define CCS811_ERROR_INIT_FAILED   0x0005

The initialization failed

Definition at line 70 of file ccs811.h.

Referenced by CCS811_init().

#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().