adc1_pad_get_io_num() function
Get the GPIO number of a specific ADC1 channel.
Arguments
channel
Channel to get the GPIO number
gpio_num
output buffer to hold the GPIO number
Return value
- ESP_OK if success - ESP_ERR_INVALID_ARG if channel not valid
adc1_pad_get_io_num() calls 2 functions:
![]()
adc1_pad_get_io_num()
adc1_pad_get_io_num() reads 8 variables:
![]()
adc1_pad_get_io_num()