adc_oneshot_io_to_channel() function
Get ADC channel from the given GPIO number
Return value
- ESP_OK: On success - ESP_ERR_INVALID_ARG: Invalid argument - ESP_ERR_NOT_FOUND: The IO is not a valid ADC pad
adc_oneshot_io_to_channel() calls 1 function:
![]()
adc_oneshot_io_to_channel()
adc_oneshot_io_to_channel():
![]()
adc_oneshot_io_to_channel()