Description

Measure mode value definitions.

Macros

#define CCS811_MEASURE_MODE_DRIVE_MODE_SHIFT 4
DRIVE_MODE field bit shift value

#define CCS811_MEASURE_MODE_DRIVE_MODE_IDLE 0x00
Idle mode, measurements are disabled

#define CCS811_MEASURE_MODE_DRIVE_MODE_1SEC 0x10
IAQ Mode 1, a measurement is performed every second

#define CCS811_MEASURE_MODE_DRIVE_MODE_10SEC 0x20
IAQ Mode 2, a measurement is performed every 10 seconds

#define CCS811_MEASURE_MODE_DRIVE_MODE_60SEC 0x30
IAQ Mode 3, a measurement is performed every 60 seconds

#define CCS811_MEASURE_MODE_DRIVE_MODE_RAW 0x40
IAQ Mode 4, Raw Data Mode, a measurement is performed every 250ms for external algorithms

#define CCS811_MEASURE_MODE_INTERRUPT 0x08
Interrupt generation enable

#define CCS811_MEASURE_MODE_THRESH 0x04
Enable interrupt when eCO2 level exceeds threshold

Macro Definition Documentation

CCS811_MEASURE_MODE_DRIVE_MODE_SHIFT

#define CCS811_MEASURE_MODE_DRIVE_MODE_SHIFT   4

DRIVE_MODE field bit shift value

CCS811_MEASURE_MODE_DRIVE_MODE_IDLE

#define CCS811_MEASURE_MODE_DRIVE_MODE_IDLE   0x00

Idle mode, measurements are disabled

CCS811_MEASURE_MODE_DRIVE_MODE_1SEC

#define CCS811_MEASURE_MODE_DRIVE_MODE_1SEC   0x10

IAQ Mode 1, a measurement is performed every second

CCS811_MEASURE_MODE_DRIVE_MODE_10SEC

#define CCS811_MEASURE_MODE_DRIVE_MODE_10SEC   0x20

IAQ Mode 2, a measurement is performed every 10 seconds

CCS811_MEASURE_MODE_DRIVE_MODE_60SEC

#define CCS811_MEASURE_MODE_DRIVE_MODE_60SEC   0x30

IAQ Mode 3, a measurement is performed every 60 seconds

CCS811_MEASURE_MODE_DRIVE_MODE_RAW

#define CCS811_MEASURE_MODE_DRIVE_MODE_RAW   0x40

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

CCS811_MEASURE_MODE_INTERRUPT

#define CCS811_MEASURE_MODE_INTERRUPT   0x08

Interrupt generation enable

CCS811_MEASURE_MODE_THRESH

#define CCS811_MEASURE_MODE_THRESH   0x04

Enable interrupt when eCO2 level exceeds threshold