Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/sensor/rpi_pico_temp/
Drpi_pico_temp.c23 const int32_t vbe_slope; member
77 work = ((27 * (-cfg->vbe_slope)) - (mv * 1000 - cfg->vbe)); in rpi_pico_temp_channel_get()
78 val->val1 = work / (-cfg->vbe_slope); in rpi_pico_temp_channel_get()
79 work -= val->val1 * (-cfg->vbe_slope); in rpi_pico_temp_channel_get()
80 val->val2 = work * 1000000 / (-cfg->vbe_slope); in rpi_pico_temp_channel_get()
108 .vbe_slope = DT_INST_PROP(inst, vbe_slope), \