Zephyr API Documentation 4.5.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
stc31.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_STC31_H_
14#define ZEPHYR_INCLUDE_DRIVERS_SENSOR_STC31_H_
15
35
37
76
86int stc31_forced_recalibration(const struct device *dev, uint32_t reference_ppm);
87
100int stc31_soft_reset(const struct device *dev);
101
105
106#endif /* ZEPHYR_INCLUDE_DRIVERS_SENSOR_STC31_H_ */
@ SENSOR_ATTR_PRIV_START
This and higher values are sensor specific.
Definition sensor.h:449
int stc31_soft_reset(const struct device *dev)
Soft-reset the STC31 via I2C general call.
sensor_attribute_stc31
Custom sensor attributes for STC31.
Definition stc31.h:41
int stc31_forced_recalibration(const struct device *dev, uint32_t reference_ppm)
Perform a forced recalibration (FRC).
@ SENSOR_ATTR_STC31_TEMPERATURE
External temperature compensation input.
Definition stc31.h:58
@ SENSOR_ATTR_STC31_REL_HUMIDITY
Relative humidity compensation input.
Definition stc31.h:49
@ SENSOR_ATTR_STC31_PRESSURE
Ambient pressure compensation input.
Definition stc31.h:67
@ SENSOR_ATTR_STC31_BINARY_GAS
Binary gas / measurement mode argument for command 0x3615.
Definition stc31.h:74
Main header file for sensor driver API.
__UINT32_TYPE__ uint32_t
Definition stdint.h:90
Runtime device structure (in ROM) per driver instance.
Definition device.h:543