Home
last modified time | relevance | path

Searched refs:scratchpad (Results 1 – 2 of 2) sorted by relevance

/Zephyr-Core-3.5.0/drivers/sensor/ds18b20/
Dds18b20.c43 struct ds18b20_scratchpad scratchpad) in ds18b20_write_scratchpad() argument
49 scratchpad.alarm_temp_high, in ds18b20_write_scratchpad()
50 scratchpad.alarm_temp_low, in ds18b20_write_scratchpad()
51 scratchpad.config in ds18b20_write_scratchpad()
58 struct ds18b20_scratchpad *scratchpad) in ds18b20_read_scratchpad() argument
65 (uint8_t *)&scratchpad[0], 9); in ds18b20_read_scratchpad()
94 data->scratchpad.config &= ~DS18B20_RESOLUTION_MASK; in ds18b20_set_resolution()
95 data->scratchpad.config |= DS18B20_RESOLUTION(resolution); in ds18b20_set_resolution()
122 return ds18b20_read_scratchpad(dev, &data->scratchpad); in ds18b20_sample_fetch()
135 ds18b20_temperature_from_raw((uint8_t *)&data->scratchpad.temp, val); in ds18b20_channel_get()
[all …]
Dds18b20.h51 struct ds18b20_scratchpad scratchpad; member