EZR32 Wonder Gecko Software Documentation  ezr32wg-doc-5.1.2
CCS811 Configuration Settings

Detailed Description

CCS811 configuration setting macro definitions.

Macros

#define CCS811_CONFIG_FIRMWARE_UPDATE   (0)
 
#define CCS811_CONFIG_I2C_BUS_ADDRESS   (0xB4)
 
#define CCS811_CONFIG_I2C_BUS_TIMEOUT   (1000)
 
#define CCS811_CONFIG_I2C_DEVICE   (I2C0)
 
#define CCS811_FIRMWARE_UPDATE   (CCS811_CONFIG_FIRMWARE_UPDATE)
 
#define CCS811_HW_ID   0x81
 
#define CCS811_I2C_DEVICE   (CCS811_CONFIG_I2C_DEVICE)
 
#define CCS811_I2C_DEVICE_BUS_ADDRESS   (CCS811_CONFIG_I2C_BUS_ADDRESS)
 
#define CCS811_I2C_DEVICE_BUS_TIMEOUT   (CCS811_CONFIG_I2C_BUS_TIMEOUT)
 

Macro Definition Documentation

#define CCS811_CONFIG_FIRMWARE_UPDATE   (0)

Default value of firmware upgrade enable

Definition at line 36 of file ccs811.h.

#define CCS811_CONFIG_I2C_BUS_ADDRESS   (0xB4)

Default I2C bus address of the CCS811

Definition at line 48 of file ccs811.h.

#define CCS811_CONFIG_I2C_BUS_TIMEOUT   (1000)

Default I2C bus timeout value

Definition at line 40 of file ccs811.h.

#define CCS811_CONFIG_I2C_DEVICE   (I2C0)

Default I2C device to control the CCS811

Definition at line 44 of file ccs811.h.

#define CCS811_FIRMWARE_UPDATE   (CCS811_CONFIG_FIRMWARE_UPDATE)

Enable or disable CCS811 firmware upgrade

Definition at line 51 of file ccs811.h.

#define CCS811_HW_ID   0x81

The hardware ID of the CCS881

Definition at line 55 of file ccs811.h.

Referenced by CCS811_init().

#define CCS811_I2C_DEVICE   (CCS811_CONFIG_I2C_DEVICE)

I2C device used to control the CCS811

Definition at line 52 of file ccs811.h.

Referenced by CCS811_getMeasurement(), CCS811_getRawData(), CCS811_readMailbox(), CCS811_setEnvData(), CCS811_setMeasureMode(), and CCS811_softwareReset().

#define CCS811_I2C_DEVICE_BUS_ADDRESS   (CCS811_CONFIG_I2C_BUS_ADDRESS)

I2C bus address of the CCS881

Definition at line 53 of file ccs811.h.

Referenced by CCS811_getMeasurement(), CCS811_getRawData(), CCS811_readMailbox(), CCS811_setEnvData(), CCS811_setMeasureMode(), and CCS811_softwareReset().

#define CCS811_I2C_DEVICE_BUS_TIMEOUT   (CCS811_CONFIG_I2C_BUS_TIMEOUT)

I2C bus timeout

Definition at line 54 of file ccs811.h.