EFM32 Gecko Software Documentation  efm32g-doc-5.1.2

Detailed Description

CCS811 I2C register macro definitions.

Macros

#define CCS811_ADDR_ALG_RESULT_DATA   0x02
 
#define CCS811_ADDR_APP_START   0xF4
 
#define CCS811_ADDR_ENV_DATA   0x05
 
#define CCS811_ADDR_ERR_ID   0xE0
 
#define CCS811_ADDR_FW_APP_VERSION   0x24
 
#define CCS811_ADDR_FW_BOOT_VERSION   0x23
 
#define CCS811_ADDR_FW_ERASE   0xF1
 
#define CCS811_ADDR_FW_PROGRAM   0xF2
 
#define CCS811_ADDR_FW_VERIFY   0xF3
 
#define CCS811_ADDR_HW_ID   0x20
 
#define CCS811_ADDR_HW_VERSION   0x21
 
#define CCS811_ADDR_MEASURE_MODE   0x01
 
#define CCS811_ADDR_NTC   0x06
 
#define CCS811_ADDR_RAW_DATA   0x03
 
#define CCS811_ADDR_STATUS   0x00
 
#define CCS811_ADDR_SW_RESET   0xFF
 
#define CCS811_ADDR_THRESHOLDS   0x10
 

Macro Definition Documentation

#define CCS811_ADDR_ALG_RESULT_DATA   0x02

Algorithm result

Definition at line 83 of file ccs811.h.

Referenced by CCS811_dumpRegisters(), and CCS811_getMeasurement().

#define CCS811_ADDR_APP_START   0xF4

Application start

Definition at line 96 of file ccs811.h.

#define CCS811_ADDR_ENV_DATA   0x05

Temperature and Humidity data can be written to enable compensation

Definition at line 85 of file ccs811.h.

Referenced by CCS811_dumpRegisters(), and CCS811_setEnvData().

#define CCS811_ADDR_ERR_ID   0xE0

Error ID

Definition at line 92 of file ccs811.h.

Referenced by CCS811_dumpRegisters().

#define CCS811_ADDR_FW_APP_VERSION   0x24

Firmware Application Version

Definition at line 91 of file ccs811.h.

Referenced by CCS811_dumpRegisters().

#define CCS811_ADDR_FW_BOOT_VERSION   0x23

Firmware Boot Version

Definition at line 90 of file ccs811.h.

Referenced by CCS811_dumpRegisters().

#define CCS811_ADDR_FW_ERASE   0xF1

Firmware erase

Definition at line 93 of file ccs811.h.

#define CCS811_ADDR_FW_PROGRAM   0xF2

Firmware programming

Definition at line 94 of file ccs811.h.

#define CCS811_ADDR_FW_VERIFY   0xF3

Firmware verification

Definition at line 95 of file ccs811.h.

#define CCS811_ADDR_HW_ID   0x20

Hardware ID

Definition at line 88 of file ccs811.h.

Referenced by CCS811_dumpRegisters(), and CCS811_getHardwareID().

#define CCS811_ADDR_HW_VERSION   0x21

Hardware Version

Definition at line 89 of file ccs811.h.

Referenced by CCS811_dumpRegisters().

#define CCS811_ADDR_MEASURE_MODE   0x01

Measurement mode and conditions register

Definition at line 82 of file ccs811.h.

Referenced by CCS811_dumpRegisters(), and CCS811_setMeasureMode().

#define CCS811_ADDR_NTC   0x06

Provides the voltage across the reference resistor and the voltage across the NTC resistor

Definition at line 86 of file ccs811.h.

Referenced by CCS811_dumpRegisters().

#define CCS811_ADDR_RAW_DATA   0x03

Raw ADC data values for resistance and current source used

Definition at line 84 of file ccs811.h.

Referenced by CCS811_dumpRegisters(), and CCS811_getRawData().

#define CCS811_ADDR_STATUS   0x00

Status register

Definition at line 81 of file ccs811.h.

Referenced by CCS811_dumpRegisters(), CCS811_getStatus(), and CCS811_startApplication().

#define CCS811_ADDR_SW_RESET   0xFF

Software reset

Definition at line 97 of file ccs811.h.

Referenced by CCS811_softwareReset().

#define CCS811_ADDR_THRESHOLDS   0x10

Thresholds for operation when interrupts are only generated when eCO2 ppm crosses a threshold

Definition at line 87 of file ccs811.h.

Referenced by CCS811_dumpRegisters().