|
Zephyr API Documentation 4.4.99
A Scalable Open Source RTOS
|
Extended public API for 1-Wire sensors. More...
Go to the source code of this file.
Enumerations | |
| enum | sensor_attribute_w1 { SENSOR_ATTR_W1_ROM = SENSOR_ATTR_PRIV_START } |
| Extended sensor attributes for 1-Wire sensors. More... | |
Functions | |
| static void | w1_rom_to_sensor_value (const struct w1_rom *rom, struct sensor_value *val) |
| Encode a w1_rom as a sensor_value. | |
| static void | w1_sensor_value_to_rom (const struct sensor_value *val, struct w1_rom *rom) |
| Decode a sensor_value into a w1_rom. | |
Extended public API for 1-Wire sensors.
This header exposes a sensor attribute and helper functions to allow the runtime configuration of ROM IDs for 1-Wire sensors.