1 parent 108a958 commit 8e68826Copy full SHA for 8e68826
1 file changed
components/drivers/include/drivers/adc.h
@@ -135,10 +135,10 @@ rt_err_t rt_adc_enable(rt_adc_device_t dev, rt_int8_t channel);
135
rt_err_t rt_adc_disable(rt_adc_device_t dev, rt_int8_t channel);
136
137
/**
138
- * @brief get the adc resolution
+ * @brief get the converted voltage value from an ADC channel
139
* @param dev adc device
140
* @param channel adc channel
141
- * @return rt_int16_t adc resolution
+ * @return rt_int16_t voltage value (implementation-defined unit, typically mV)
142
* @ingroup group_drivers_adc
143
*/
144
rt_int16_t rt_adc_voltage(rt_adc_device_t dev, rt_int8_t channel);
0 commit comments