Searched refs:adc_vbus_v (Results 1 – 1 of 1) sorted by relevance
17 static const struct voltage_divider_dt_spec adc_vbus_v = variable34 adc_sequence_init_dt(&adc_vbus_v.port, &sequence); in meas_vbus_v()36 ret = adc_read_dt(&adc_vbus_v.port, &sequence); in meas_vbus_v()42 ret = adc_raw_to_millivolts_dt(&adc_vbus_v.port, v); in meas_vbus_v()47 ret = voltage_divider_scale_dt(&adc_vbus_v, v); in meas_vbus_v()91 ret = adc_channel_setup_dt(&adc_vbus_v.port); in meas_init()