Zephyr API Documentation 4.2.99
A Scalable Open Source RTOS
 4.2.99

Header file for extended sensor API of SCD4X sensor. More...

Go to the source code of this file.

Enumerations

enum  sensor_attribute_scd4x {
  SENSOR_ATTR_SCD4X_TEMPERATURE_OFFSET = SENSOR_ATTR_PRIV_START , SENSOR_ATTR_SCD4X_SENSOR_ALTITUDE , SENSOR_ATTR_SCD4X_AMBIENT_PRESSURE , SENSOR_ATTR_SCD4X_AUTOMATIC_CALIB_ENABLE ,
  SENSOR_ATTR_SCD4X_SELF_CALIB_INITIAL_PERIOD , SENSOR_ATTR_SCD4X_SELF_CALIB_STANDARD_PERIOD
}
 Custom sensor attributes for SCD4X. More...

Functions

int scd4x_forced_recalibration (const struct device *dev, uint16_t target_concentration, uint16_t *frc_correction)
 Performs a forced recalibration.
int scd4x_self_test (const struct device *dev)
 Performs a self test.
int scd4x_persist_settings (const struct device *dev)
 Performs a self test.
int scd4x_factory_reset (const struct device *dev)
 Performs a factory reset.

Detailed Description

Header file for extended sensor API of SCD4X sensor.