Function esp_idf_sys::adc_oneshot_config_channel
source ยท pub unsafe extern "C" fn adc_oneshot_config_channel(
handle: adc_oneshot_unit_handle_t,
channel: adc_channel_t,
config: *const adc_oneshot_chan_cfg_t,
) -> esp_err_t
Expand description
@brief Set ADC oneshot mode required configurations
@note This API is thread-safe. For more details, see ADC programming guide
@param[in] handle ADC handle @param[in] channel ADC channel to be configured @param[in] config ADC configurations
@return - ESP_OK: On success - ESP_ERR_INVALID_ARG: Invalid arguments