13#ifndef ZEPHYR_INCLUDE_DRIVERS_SENSOR_SCD4X_H_
14#define ZEPHYR_INCLUDE_DRIVERS_SENSOR_SCD4X_H_
int scd4x_self_test(const struct device *dev)
Performs a self test.
sensor_attribute_scd4x
Custom sensor attributes for SCD4X.
Definition scd4x.h:28
int scd4x_persist_settings(const struct device *dev)
Performs a self test.
int scd4x_forced_recalibration(const struct device *dev, uint16_t target_concentration, uint16_t *frc_correction)
Performs a forced recalibration.
int scd4x_factory_reset(const struct device *dev)
Performs a factory reset.
@ SENSOR_ATTR_SCD4X_SELF_CALIB_INITIAL_PERIOD
Initial period for automatic self calibration correction (in hours).
Definition scd4x.h:63
@ SENSOR_ATTR_SCD4X_AMBIENT_PRESSURE
Ambient pressure in hPa.
Definition scd4x.h:50
@ SENSOR_ATTR_SCD4X_TEMPERATURE_OFFSET
Temperature offset.
Definition scd4x.h:38
@ SENSOR_ATTR_SCD4X_SENSOR_ALTITUDE
Altitude of the sensor.
Definition scd4x.h:44
@ SENSOR_ATTR_SCD4X_SELF_CALIB_STANDARD_PERIOD
Standard period for automatic self calibration correction (in hours).
Definition scd4x.h:70
@ SENSOR_ATTR_SCD4X_AUTOMATIC_CALIB_ENABLE
Automatic calibration enable (enabled: 1 / disabled: 0).
Definition scd4x.h:56
@ SENSOR_ATTR_PRIV_START
This and higher values are sensor specific.
Definition sensor.h:376
Public APIs for the sensor driver.
__UINT16_TYPE__ uint16_t
Definition stdint.h:89
Runtime device structure (in ROM) per driver instance.
Definition device.h:510