Chapter 2. API Reference
ADC_DIGI_FILTER_IIR_16
The filter mode is first-order IIR filter. The coefficient is 16.
ADC_DIGI_FILTER_IIR_64
The filter mode is first-order IIR filter. The coefficient is 64.
ADC_DIGI_FILTER_IIR_MAX
enum adc_digi_monitor_idx_t
ADC digital controller (DMA mode) monitor index options.
Note For ESP32-S2, The monitor object of the ADC is fixed.
Values:
ADC_DIGI_MONITOR_IDX0 = 0
The monitor index 0. For ESP32-S2, It can only be used to monitor all enabled channels of ADC1 unit
at the same time.
ADC_DIGI_MONITOR_IDX1
The monitor index 1. For ESP32-S2, It can only be used to monitor all enabled channels of ADC2 unit
at the same time.
ADC_DIGI_MONITOR_IDX_MAX
enum adc_digi_monitor_mode_t
Set monitor mode of adc digital controller. MONITOR_HIGH:If ADC_OUT > threshold, Generates monitor
interrupt. MONITOR_LOW: If ADC_OUT < threshold, Generates monitor interrupt.
Values:
ADC_DIGI_MONITOR_HIGH = 0
If ADC_OUT > threshold, Generates monitor interrupt.
ADC_DIGI_MONITOR_LOW
If ADC_OUT < threshold, Generates monitor interrupt.
ADC_DIGI_MONITOR_MAX
enum adc_i2s_source_t
ESP32 ADC DMA source selection.
Values:
ADC_I2S_DATA_SRC_IO_SIG = 0
I2S data from GPIO matrix signal
ADC_I2S_DATA_SRC_ADC = 1
I2S data from ADC
ADC_I2S_DATA_SRC_MAX
ADC Calibration
Header File
•
components/esp_adc_cal/include/esp_adc_cal.h
Functions
esp_err_t esp_adc_cal_check_efuse(esp_adc_cal_value_t
Checks if ADC calibration values are burned into eFuse.
This function checks if ADC reference voltage or Two Point values have been burned to the eFuse of the
current ESP32
Espressif Systems
231
Submit Document Feedback
value_type)
Release v4.4
Need help?
Do you have a question about the ESP32-S2 and is the answer not in the manual?
Questions and answers