Register definitions for the AMS CCS811 digital gas sensor. More...
Register definitions for the AMS CCS811 digital gas sensor.
Definition in file ccs811_regs.h.
Go to the source code of this file.
Macros | |
| #define | CCS811_HW_ID (0x81) | 
| CCS811 hardware ID.  | |
Status register bits (#CCS811_REG_STATUS) | |
| #define | CCS811_STATUS_ERROR (0x01) | 
| error occurred, details in CCS811_REG_ERROR  | |
| #define | CCS811_STATUS_DATA_RDY (0x08) | 
| new data sample available in ALG_RESULT_DATA  | |
| #define | CCS811_STATUS_APP_VALID (0x10) | 
| valid application firmware loaded  | |
| #define | CCS811_STATUS_FW_MODE (0x80) | 
| firmware is in application mode  | |
Error register bits (#CCS811_REG_ERROR_ID) | |
| #define | CCS811_ERR_WRITE_REG_INV (0x01) | 
| invalid register address on write  | |
| #define | CCS811_ERR_READ_REG_INV (0x02) | 
| invalid register address on read  | |
| #define | CCS811_ERR_MEASMODE_INV (0x04) | 
| invalid requested measurement mode  | |
| #define | CCS811_ERR_MAX_RESISTANCE (0x08) | 
| maximum sensor resistance exceeded  | |
| #define | CCS811_ERR_HEATER_FAULT (0x10) | 
| heater current not in range  | |
| #define | CCS811_ERR_HEATER_SUPPLY (0x20) | 
| heater voltage not applied correctly  | |