Nol.A SDK Library 26.11.2
For IoT System Software Development
Loading...
Searching...
No Matches
SparkFun_CCS811.hpp File Reference

Public driver declarations and configuration constants. More...

#include <nola-common.h>
#include <TwoWire.hpp>

Classes

class  CCS811Core
 Low-level CCS811 I2C register transport. The current register helpers return SENSOR_SUCCESS without validating transfers. More...
class  CCS811
 CCS811 gas sensor with cached eCO2 and TVOC results. Call begin(), allow measurements to accumulate, then readAlgorithmResults() before reading the cached getters. The driver does not report transport failures. More...

Macros

#define CSS811_void   0x00
 CCS811 void register address.
#define CSS811_MEAS_MODE   0x01
 CCS811 meas mode register address.
#define CSS811_ALG_RESULT_DATA   0x02
 CCS811 alg result data register address.
#define CSS811_RAW_DATA   0x03
 CCS811 raw data register address.
#define CSS811_ENV_DATA   0x05
 CCS811 env data register address.
#define CSS811_NTC   0x06
 CCS811 ntc register address.
#define CSS811_THRESHOLDS   0x10
 CCS811 thresholds register address.
#define CSS811_BASELINE   0x11
 CCS811 baseline register address.
#define CSS811_HW_ID   0x20
 CCS811 hw id register address.
#define CSS811_HW_VERSION   0x21
 CCS811 hw version register address.
#define CSS811_FW_BOOT_VERSION   0x23
 CCS811 fw boot version register address.
#define CSS811_FW_APP_VERSION   0x24
 CCS811 fw app version register address.
#define CSS811_ERROR_ID   0xE0
 CCS811 error id register address.
#define CSS811_APP_START   0xF4
 CCS811 app start register address.
#define CSS811_SW_RESET   0xFF
 CCS811 sw reset register address.

Detailed Description

Public driver declarations and configuration constants.