Internal constants, configuration commands for SCD30 sensor. More...

Detailed Description

Go to the source code of this file.

SCD30 CRC Function and start value for CRC

#define SCD30_CRC_FUNC   0x31
 CRC Function for CRC-8 calculation and verification.
 
#define SCD30_CRC_START_VAL   0xFF
 Start value for CRC-8 calculation.
 

SCD30 Internal Constants

#define SCD30_DEF_PRESSURE   0x03f5
 Ambient Pressure: 1013.25 mBar.
 
#define SCD30_READ_WRITE_SLEEP_US   (4 * US_PER_MS)
 
#define SCD30_RESET_SLEEP_US   (25 * US_PER_MS)
 
#define SCD30_DATA_RDY_TIMEOUT   (1 * US_PER_SEC)
 
#define SCD30_MIN_INTERVAL   2
 
#define SCD30_MAX_INTERVAL   1800
 
#define SCD30_MIN_PRESSURE_COMP   700
 
#define SCD30_MAX_PRESSURE_COMP   1400