Zephyr API Documentation 4.5.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
scd30.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2026 RAKwireless Technology Limited
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6
12
13#ifndef ZEPHYR_INCLUDE_DRIVERS_SENSOR_SCD30_H_
14#define ZEPHYR_INCLUDE_DRIVERS_SENSOR_SCD30_H_
15
22
24
63
78int scd30_forced_recalibration(const struct device *dev, uint16_t target_concentration);
79
91int scd30_soft_reset(const struct device *dev);
92
96
97#endif /* ZEPHYR_INCLUDE_DRIVERS_SENSOR_SCD30_H_ */
int scd30_forced_recalibration(const struct device *dev, uint16_t target_concentration)
Perform a forced recalibration (FRC).
int scd30_soft_reset(const struct device *dev)
Soft-reset the SCD30.
sensor_attribute_scd30
Custom sensor attributes for SCD30.
Definition scd30.h:28
@ SENSOR_ATTR_SCD30_SENSOR_ALTITUDE
Altitude compensation in metres above sea level.
Definition scd30.h:42
@ SENSOR_ATTR_SCD30_AUTOMATIC_CALIB_ENABLE
Automatic self-calibration enable (1) or disable (0).
Definition scd30.h:55
@ SENSOR_ATTR_SCD30_AMBIENT_PRESSURE
Ambient pressure compensation in mBar.
Definition scd30.h:49
@ SENSOR_ATTR_SCD30_TEMPERATURE_OFFSET
Temperature offset for the onboard RH/T sensor.
Definition scd30.h:35
@ SENSOR_ATTR_SCD30_MEASUREMENT_INTERVAL
Continuous measurement interval in seconds.
Definition scd30.h:61
@ SENSOR_ATTR_PRIV_START
This and higher values are sensor specific.
Definition sensor.h:452
Main header file for sensor driver API.
__UINT16_TYPE__ uint16_t
Definition stdint.h:89
Runtime device structure (in ROM) per driver instance.
Definition device.h:607