[−][src]Function esp_idf_sys::adc1_pad_get_io_num
pub unsafe extern "C" fn adc1_pad_get_io_num(
channel: adc1_channel_t,
gpio_num: *mut gpio_num_t
) -> esp_err_t
@brief Get the gpio number of a specific ADC1 channel.
@param channel Channel to get the gpio number
@param gpio_num output buffer to hold the gpio number
@return
- ESP_OK if success
- ESP_ERR_INVALID_ARG if channal not valid