adc1_config_width() function
Configure ADC1 capture width, meanwhile enable output invert for ADC1. The configuration is for all channels of ADC1
Arguments
width_bit
Bit capture width for ADC1
Return value
- ESP_OK success - ESP_ERR_INVALID_ARG Parameter error