Home
last modified time | relevance | path

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

/Zephyr-Core-3.7.0/samples/boards/google_twinkie_v2_pda/src/
Dmeas.c42 ret = adc_raw_to_millivolts_dt(&adc_vbus_v.port, v); in meas_vbus_v()
75 ret = adc_raw_to_millivolts_dt(&adc_vbus_c.port, c); in meas_vbus_c()
/Zephyr-Core-3.7.0/tests/drivers/adc/adc_rescale/src/
Dmain.c75 ret = adc_raw_to_millivolts_dt(&adc_node_0.port, &calculated_voltage); in test_task_voltage_divider()
115 ret = adc_raw_to_millivolts_dt(&adc_node_1.port, &calculated_current); in test_task_current_sense_shunt()
155 ret = adc_raw_to_millivolts_dt(&adc_node_2.port, &calculated_current); in test_task_current_sense_amplifier()
/Zephyr-Core-3.7.0/tests/drivers/adc/adc_accuracy_test/src/
Dref_volt.c31 ret = adc_raw_to_millivolts_dt(adc_channel, &sample_buffer); in test_ref_to_adc()
/Zephyr-Core-3.7.0/samples/boards/stm32/power_mgmt/adc/src/
Dmain.c84 err = adc_raw_to_millivolts_dt(&adc_channels[i], in main()
/Zephyr-Core-3.7.0/samples/drivers/adc/adc_dt/src/
Dmain.c89 err = adc_raw_to_millivolts_dt(&adc_channels[i],
/Zephyr-Core-3.7.0/drivers/sensor/microchip/mcp970x/
Dmcp970x.c71 ret = adc_raw_to_millivolts_dt(&config->adc, &raw_val); in get()
/Zephyr-Core-3.7.0/tests/drivers/regulator/voltage/src/
Dmain.c94 ret = adc_raw_to_millivolts_dt(&adc_chs[i], &val_mv); in ZTEST()
/Zephyr-Core-3.7.0/drivers/sensor/current_amp/
Dcurrent_amp.c55 ret = adc_raw_to_millivolts_dt(&config->port, &raw_val); in get()
/Zephyr-Core-3.7.0/drivers/sensor/voltage_divider/
Dvoltage.c66 ret = adc_raw_to_millivolts_dt(&config->voltage.port, &raw_val); in get()
/Zephyr-Core-3.7.0/drivers/usb_c/vbus/
Dusbc_vbus_adc.c45 ret = adc_raw_to_millivolts_dt(&config->adc_channel, &value); in adc_vbus_measure()
/Zephyr-Core-3.7.0/drivers/sensor/ntc_thermistor/
Dntc_thermistor.c52 res = adc_raw_to_millivolts_dt(&cfg->adc_channel, &val_mv); in ntc_thermistor_sample_fetch()
/Zephyr-Core-3.7.0/samples/boards/stm32/power_mgmt/suspend_to_ram/src/
Dmain.c181 err = adc_raw_to_millivolts_dt(&adc_channels[i], in adc_test()
/Zephyr-Core-3.7.0/drivers/input/
Dinput_adc_keys.c65 adc_raw_to_millivolts_dt(&cfg->channel, &sample_mv); in adc_keys_read()
/Zephyr-Core-3.7.0/include/zephyr/drivers/
Dadc.h906 static inline int adc_raw_to_millivolts_dt(const struct adc_dt_spec *spec, in adc_raw_to_millivolts_dt() function