Loading...
Searching...
No Matches

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
 

Macro Definition Documentation

◆ SCD30_CRC_FUNC

#define SCD30_CRC_FUNC   0x31

CRC Function for CRC-8 calculation and verification.

Definition at line 34 of file scd30_internal.h.

◆ SCD30_CRC_START_VAL

#define SCD30_CRC_START_VAL   0xFF

Start value for CRC-8 calculation.

Definition at line 36 of file scd30_internal.h.

◆ SCD30_DATA_RDY_TIMEOUT

#define SCD30_DATA_RDY_TIMEOUT   (1 * US_PER_SEC)

Definition at line 48 of file scd30_internal.h.

◆ SCD30_DEF_PRESSURE

#define SCD30_DEF_PRESSURE   0x03f5

Ambient Pressure: 1013.25 mBar.

Definition at line 44 of file scd30_internal.h.

◆ SCD30_MAX_INTERVAL

#define SCD30_MAX_INTERVAL   1800

Definition at line 51 of file scd30_internal.h.

◆ SCD30_MAX_PRESSURE_COMP

#define SCD30_MAX_PRESSURE_COMP   1400

Definition at line 54 of file scd30_internal.h.

◆ SCD30_MIN_INTERVAL

#define SCD30_MIN_INTERVAL   2

Definition at line 50 of file scd30_internal.h.

◆ SCD30_MIN_PRESSURE_COMP

#define SCD30_MIN_PRESSURE_COMP   700

Definition at line 53 of file scd30_internal.h.

◆ SCD30_READ_WRITE_SLEEP_US

#define SCD30_READ_WRITE_SLEEP_US   (4 * US_PER_MS)

Definition at line 46 of file scd30_internal.h.

◆ SCD30_RESET_SLEEP_US

#define SCD30_RESET_SLEEP_US   (25 * US_PER_MS)

Definition at line 47 of file scd30_internal.h.