Function esp_idf_sys::adc1_pad_get_io_num

source ยท
pub unsafe extern "C" fn adc1_pad_get_io_num(
    channel: adc1_channel_t,
    gpio_num: *mut gpio_num_t,
) -> esp_err_t
Expand description

@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 channel not valid