[−][src]Function esp_idf_sys::adc2_pad_get_io_num
pub unsafe extern "C" fn adc2_pad_get_io_num(
channel: adc2_channel_t,
gpio_num: *mut gpio_num_t
) -> esp_err_t
@brief Get the gpio number of a specific ADC2 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