Lines Matching full:rom
12 * runtime configuration of ROM IDs for 1-Wire Sensors.
33 /** Device unique 1-Wire ROM */
40 * @param rom Pointer to the rom struct.
43 static inline void w1_rom_to_sensor_value(const struct w1_rom *rom, in w1_rom_to_sensor_value() argument
46 val->val1 = sys_get_be64((uint8_t *)rom) & BIT64_MASK(32); in w1_rom_to_sensor_value()
47 val->val2 = sys_get_be64((uint8_t *)rom) >> 32; in w1_rom_to_sensor_value()
51 * @brief Function to write an rom id stored in a sensor value to a struct w1_rom ptr.
53 * @param val Sensor_value representing the rom.
54 * @param rom The rom struct ptr.
57 struct w1_rom *rom) in w1_sensor_value_to_rom() argument
61 sys_put_be64(temp64, (uint8_t *)rom); in w1_sensor_value_to_rom()