Searched refs:adc_vbus_c (Results 1 – 1 of 1) sorted by relevance
19 static const struct current_sense_amplifier_dt_spec adc_vbus_c = variable67 adc_sequence_init_dt(&adc_vbus_c.port, &sequence); in meas_vbus_c()69 ret = adc_read(adc_vbus_c.port.dev, &sequence); in meas_vbus_c()75 ret = adc_raw_to_millivolts_dt(&adc_vbus_c.port, c); in meas_vbus_c()81 *c -= adc_vbus_c.port.vref_mv / 2; in meas_vbus_c()82 current_sense_amplifier_scale_dt(&adc_vbus_c, c); in meas_vbus_c()96 ret = adc_channel_setup_dt(&adc_vbus_c.port); in meas_init()