Register Addresses#

Register definitions.

Macros#

#define

Status register

#define

Measurement mode and conditions register

#define

Algorithm result

#define

Raw ADC data values for resistance and current source used

#define

Temperature and Humidity data can be written to enable compensation

#define

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

#define

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

#define

Hardware ID

#define

Hardware Version

#define

Firmware Boot Version

#define

Firmware Application Version

#define

Error ID

#define

Firmware erase

#define

Firmware programming

#define

Firmware verification

#define

Application start

#define

Software reset

Macro Definition Documentation#

CCS811_ADDR_STATUS#

#define CCS811_ADDR_STATUS
Value:
0x00

Status register


Definition at line 91 of file hardware/driver/ccs811/inc/sl_ccs811.h

CCS811_ADDR_MEASURE_MODE#

#define CCS811_ADDR_MEASURE_MODE
Value:
0x01

Measurement mode and conditions register


Definition at line 92 of file hardware/driver/ccs811/inc/sl_ccs811.h

CCS811_ADDR_ALG_RESULT_DATA#

#define CCS811_ADDR_ALG_RESULT_DATA
Value:
0x02

Algorithm result


Definition at line 93 of file hardware/driver/ccs811/inc/sl_ccs811.h

CCS811_ADDR_RAW_DATA#

#define CCS811_ADDR_RAW_DATA
Value:
0x03

Raw ADC data values for resistance and current source used


Definition at line 94 of file hardware/driver/ccs811/inc/sl_ccs811.h

CCS811_ADDR_ENV_DATA#

#define CCS811_ADDR_ENV_DATA
Value:
0x05

Temperature and Humidity data can be written to enable compensation


Definition at line 95 of file hardware/driver/ccs811/inc/sl_ccs811.h

CCS811_ADDR_NTC#

#define CCS811_ADDR_NTC
Value:
0x06

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


Definition at line 96 of file hardware/driver/ccs811/inc/sl_ccs811.h

CCS811_ADDR_THRESHOLDS#

#define CCS811_ADDR_THRESHOLDS
Value:
0x10

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


Definition at line 97 of file hardware/driver/ccs811/inc/sl_ccs811.h

CCS811_ADDR_HW_ID#

#define CCS811_ADDR_HW_ID
Value:
0x20

Hardware ID


Definition at line 98 of file hardware/driver/ccs811/inc/sl_ccs811.h

CCS811_ADDR_HW_VERSION#

#define CCS811_ADDR_HW_VERSION
Value:
0x21

Hardware Version


Definition at line 99 of file hardware/driver/ccs811/inc/sl_ccs811.h

CCS811_ADDR_FW_BOOT_VERSION#

#define CCS811_ADDR_FW_BOOT_VERSION
Value:
0x23

Firmware Boot Version


Definition at line 100 of file hardware/driver/ccs811/inc/sl_ccs811.h

CCS811_ADDR_FW_APP_VERSION#

#define CCS811_ADDR_FW_APP_VERSION
Value:
0x24

Firmware Application Version


Definition at line 101 of file hardware/driver/ccs811/inc/sl_ccs811.h

CCS811_ADDR_ERR_ID#

#define CCS811_ADDR_ERR_ID
Value:
0xE0

Error ID


Definition at line 102 of file hardware/driver/ccs811/inc/sl_ccs811.h

CCS811_ADDR_FW_ERASE#

#define CCS811_ADDR_FW_ERASE
Value:
0xF1

Firmware erase


Definition at line 103 of file hardware/driver/ccs811/inc/sl_ccs811.h

CCS811_ADDR_FW_PROGRAM#

#define CCS811_ADDR_FW_PROGRAM
Value:
0xF2

Firmware programming


Definition at line 104 of file hardware/driver/ccs811/inc/sl_ccs811.h

CCS811_ADDR_FW_VERIFY#

#define CCS811_ADDR_FW_VERIFY
Value:
0xF3

Firmware verification


Definition at line 105 of file hardware/driver/ccs811/inc/sl_ccs811.h

CCS811_ADDR_APP_START#

#define CCS811_ADDR_APP_START
Value:
0xF4

Application start


Definition at line 106 of file hardware/driver/ccs811/inc/sl_ccs811.h

CCS811_ADDR_SW_RESET#

#define CCS811_ADDR_SW_RESET
Value:
0xFF

Software reset


Definition at line 107 of file hardware/driver/ccs811/inc/sl_ccs811.h