Measure mode value definitions#

Measure mode value definitions.

Macros#

#define

DRIVE_MODE field bit shift value

#define

Idle mode, measurements are disabled

#define

IAQ Mode 1, a measurement is performed every second

#define

IAQ Mode 2, a measurement is performed every 10 seconds

#define

IAQ Mode 3, a measurement is performed every 60 seconds

#define

IAQ Mode 4, Raw Data Mode, a measurement is performed every 250ms for external algorithms

#define

Interrupt generation enable

#define

Enable interrupt when eCO2 level exceeds threshold

Macro Definition Documentation#

CCS811_MEASURE_MODE_DRIVE_MODE_SHIFT#

#define CCS811_MEASURE_MODE_DRIVE_MODE_SHIFT
Value:
4

DRIVE_MODE field bit shift value


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

CCS811_MEASURE_MODE_DRIVE_MODE_IDLE#

#define CCS811_MEASURE_MODE_DRIVE_MODE_IDLE
Value:
0x00

Idle mode, measurements are disabled


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

CCS811_MEASURE_MODE_DRIVE_MODE_1SEC#

#define CCS811_MEASURE_MODE_DRIVE_MODE_1SEC
Value:
0x10

IAQ Mode 1, a measurement is performed every second


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

CCS811_MEASURE_MODE_DRIVE_MODE_10SEC#

#define CCS811_MEASURE_MODE_DRIVE_MODE_10SEC
Value:
0x20

IAQ Mode 2, a measurement is performed every 10 seconds


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

CCS811_MEASURE_MODE_DRIVE_MODE_60SEC#

#define CCS811_MEASURE_MODE_DRIVE_MODE_60SEC
Value:
0x30

IAQ Mode 3, a measurement is performed every 60 seconds


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

CCS811_MEASURE_MODE_DRIVE_MODE_RAW#

#define CCS811_MEASURE_MODE_DRIVE_MODE_RAW
Value:
0x40

IAQ Mode 4, Raw Data Mode, a measurement is performed every 250ms for external algorithms


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

CCS811_MEASURE_MODE_INTERRUPT#

#define CCS811_MEASURE_MODE_INTERRUPT
Value:
0x08

Interrupt generation enable


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

CCS811_MEASURE_MODE_THRESH#

#define CCS811_MEASURE_MODE_THRESH
Value:
0x04

Enable interrupt when eCO2 level exceeds threshold


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