drivers: sensor: ccs811: enable drive mode 4
This mode is documented as producing a raw result every 250 ms that the application must convert to eCO2 and eTVOC readings. In practice application firmware 2.0 appears to convert the readings as with all other rates. Signed-off-by: Peter A. Bigot <pab@pabigot.com>
This commit is contained in:
parent
cb84836745
commit
2dd990ad55
3 changed files with 10 additions and 5 deletions
|
@ -41,7 +41,7 @@ extern "C" {
|
|||
#define CCS811_MODE_IAQ_1SEC 0x10
|
||||
#define CCS811_MODE_IAQ_10SEC 0x20
|
||||
#define CCS811_MODE_IAQ_60SEC 0x30
|
||||
#define CCS811_MODE_IAQ_RAW_250MSEC 0x40
|
||||
#define CCS811_MODE_IAQ_250MSEC 0x40
|
||||
|
||||
/** @brief Information collected from the sensor on each fetch. */
|
||||
struct ccs811_result_type {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue