Home
last modified time | relevance | path

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

/Zephyr-latest/samples/drivers/adc/adc_sequence/src/
Dmain.c64 vrefs_mv[i] = adc_ref_internal(adc);
/Zephyr-latest/drivers/sensor/lm35/
Dlm35.c55 err = adc_raw_to_millivolts(adc_ref_internal(cfg->adc), cfg->ch_cfg.gain, in lm35_channel_get()
/Zephyr-latest/include/zephyr/drivers/
Dadc.h838 static inline uint16_t adc_ref_internal(const struct device *dev) in adc_ref_internal() function
905 vref_mv = (int32_t)adc_ref_internal(spec->dev); in adc_raw_to_millivolts_dt()
/Zephyr-latest/drivers/sensor/rpi_pico_temp/
Drpi_pico_temp.c66 rc = adc_raw_to_millivolts(adc_ref_internal(cfg->adc), cfg->ch_cfg.gain, in rpi_pico_temp_channel_get()
/Zephyr-latest/drivers/sensor/st/stm32_vbat/
Dstm32_vbat.c90 voltage = data->raw * adc_ref_internal(data->adc) * cfg->ratio / 0x0FFF; in stm32_vbat_channel_get()
/Zephyr-latest/samples/boards/nordic/battery/src/
Dbattery.c185 adc_raw_to_millivolts(adc_ref_internal(ddp->adc), in battery_sample()
/Zephyr-latest/drivers/sensor/st/stm32_temp/
Dstm32_temp.c128 const uint16_t vdda_mv = adc_ref_internal(data->adc); in convert_adc_sample_to_temperature()