Function esp_idf_sys::adc_oneshot_channel_to_io
source ยท pub unsafe extern "C" fn adc_oneshot_channel_to_io(
unit_id: adc_unit_t,
channel: adc_channel_t,
io_num: *mut c_int,
) -> esp_err_t
Expand description
@brief Get GPIO number from the given ADC channel
@param[in] unit_id ADC unit @param[in] channel ADC channel @param[out] io_num GPIO number
@param - ESP_OK: On success - ESP_ERR_INVALID_ARG: Invalid argument