Function esp_idf_sys::adc_set_data_width
source ยท pub unsafe extern "C" fn adc_set_data_width(
adc_unit: adc_unit_t,
width_bit: adc_bits_width_t,
) -> esp_err_t
Expand description
@brief Configure ADC capture width.
@param adc_unit ADC unit index @param width_bit Bit capture width for ADC unit.
@return - ESP_OK success - ESP_ERR_INVALID_ARG Parameter error