| 
    Zephyr Project API
    3.2.0
    
   A Scalable Open Source RTOS 
   | 
 
1-Wire Sensor API More...
Enumerations | |
| enum | sensor_attribute_w1 { SENSOR_ATTR_W1_ROM = SENSOR_ATTR_PRIV_START } | 
Functions | |
| static void | w1_rom_to_sensor_value (const struct w1_rom *rom, struct sensor_value *val) | 
| Function to write a w1_rom struct to an sensor value ptr.  More... | |
| static void | w1_sensor_value_to_rom (const struct sensor_value *val, struct w1_rom *rom) | 
| Function to write an rom id stored in a sensor value to a struct w1_rom ptr.  More... | |
1-Wire Sensor API
| enum sensor_attribute_w1 | 
#include <include/zephyr/drivers/sensor/w1_sensor.h>
| Enumerator | |
|---|---|
| SENSOR_ATTR_W1_ROM | Device unique 1-Wire ROM  | 
      
  | 
  inlinestatic | 
#include <include/zephyr/drivers/sensor/w1_sensor.h>
Function to write a w1_rom struct to an sensor value ptr.
| rom | Pointer to the rom struct. | 
| val | Pointer to the sensor value. | 
      
  | 
  inlinestatic | 
#include <include/zephyr/drivers/sensor/w1_sensor.h>
Function to write an rom id stored in a sensor value to a struct w1_rom ptr.
| val | Sensor_value representing the rom. | 
| rom | The rom struct ptr. |