Measure mode value definitions#
Measure mode value definitions.
Macros#
DRIVE_MODE field bit shift value
Idle mode, measurements are disabled
IAQ Mode 1, a measurement is performed every second
IAQ Mode 2, a measurement is performed every 10 seconds
IAQ Mode 3, a measurement is performed every 60 seconds
IAQ Mode 4, Raw Data Mode, a measurement is performed every 250ms for external algorithms
Interrupt generation enable
Enable interrupt when eCO2 level exceeds threshold
Macro Definition Documentation#
CCS811_MEASURE_MODE_DRIVE_MODE_SHIFT#
#define CCS811_MEASURE_MODE_DRIVE_MODE_SHIFTValue:
4
DRIVE_MODE field bit shift value
115
of file hardware/driver/ccs811/inc/sl_ccs811.h
CCS811_MEASURE_MODE_DRIVE_MODE_IDLE#
#define CCS811_MEASURE_MODE_DRIVE_MODE_IDLEValue:
0x00
Idle mode, measurements are disabled
116
of file hardware/driver/ccs811/inc/sl_ccs811.h
CCS811_MEASURE_MODE_DRIVE_MODE_1SEC#
#define CCS811_MEASURE_MODE_DRIVE_MODE_1SECValue:
0x10
IAQ Mode 1, a measurement is performed every second
117
of file hardware/driver/ccs811/inc/sl_ccs811.h
CCS811_MEASURE_MODE_DRIVE_MODE_10SEC#
#define CCS811_MEASURE_MODE_DRIVE_MODE_10SECValue:
0x20
IAQ Mode 2, a measurement is performed every 10 seconds
118
of file hardware/driver/ccs811/inc/sl_ccs811.h
CCS811_MEASURE_MODE_DRIVE_MODE_60SEC#
#define CCS811_MEASURE_MODE_DRIVE_MODE_60SECValue:
0x30
IAQ Mode 3, a measurement is performed every 60 seconds
119
of file hardware/driver/ccs811/inc/sl_ccs811.h
CCS811_MEASURE_MODE_DRIVE_MODE_RAW#
#define CCS811_MEASURE_MODE_DRIVE_MODE_RAWValue:
0x40
IAQ Mode 4, Raw Data Mode, a measurement is performed every 250ms for external algorithms
120
of file hardware/driver/ccs811/inc/sl_ccs811.h
CCS811_MEASURE_MODE_INTERRUPT#
#define CCS811_MEASURE_MODE_INTERRUPTValue:
0x08
Interrupt generation enable
121
of file hardware/driver/ccs811/inc/sl_ccs811.h
CCS811_MEASURE_MODE_THRESH#
#define CCS811_MEASURE_MODE_THRESHValue:
0x04
Enable interrupt when eCO2 level exceeds threshold
122
of file hardware/driver/ccs811/inc/sl_ccs811.h