Function esp_idf_svc::hal::sys::adc1_config_width
source ยท pub unsafe extern "C" fn adc1_config_width(width_bit: u32) -> i32
Expand description
@brief Configure ADC1 capture width, meanwhile enable output invert for ADC1. The configuration is for all channels of ADC1 @param width_bit Bit capture width for ADC1
@return - ESP_OK success - ESP_ERR_INVALID_ARG Parameter error