EasyManuals Logo

Espressif ESP32-S2 User Manual

Espressif ESP32-S2
1695 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #238 background imageLoading...
Page #238 background image
Chapter 2. API Reference
struct adc_arbiter_t
ADC arbiter work mode and priority setting.
Note ESP32-S2: Only ADC2 support arbiter.
Public Members
adc_arbiter_mode_t mode
Refer to adc_arbiter_mode_t. Note: only support ADC2.
uint8_t rtc_pri
RTC controller priority. Range: 0 ~ 2.
uint8_t dig_pri
Digital controller priority. Range: 0 ~ 2.
uint8_t pwdet_pri
Wi-Fi controller priority. Range: 0 ~ 2.
struct adc_digi_filter_t
ADC digital controller (DMA mode) filter configuration.
Note For ESP32-S2, The filter object of the ADC is fixed.
Note For ESP32-S2, The filter object is always all enabled channels.
Public Members
adc_unit_t adc_unit
Set adc unit number for filter. For ESP32-S2, Filter IDX0/IDX1 can only be used to lter all enabled
channels of ADC1/ADC2 unit at the same time.
adc_channel_t channel
Set adc channel number for filter. For ESP32-S2, its always ADC_CHANNEL_MAX
adc_digi_filter_mode_t mode
Set adc filter mode for filter. See adc_digi_filter_mode_t.
struct adc_digi_monitor_t
ADC digital controller (DMA mode) monitor configuration.
Note For ESP32-S2, The monitor object of the ADC is fixed.
Note For ESP32-S2, The monitor object is always all enabled channels.
Public Members
adc_unit_t adc_unit
Set adc unit number for monitor. For ESP32-S2, monitor IDX0/IDX1 can only be used to monitor all
enabled channels of ADC1/ADC2 unit at the same time.
adc_channel_t channel
Set adc channel number for monitor. For ESP32-S2, its always ADC_CHANNEL_MAX
adc_digi_monitor_mode_t mode
Set adc monitor mode. See adc_digi_monitor_mode_t.
uint32_t threshold
Set monitor threshold of adc digital controller.
struct adc_digi_clk_t
ADC digital controller (DMA mode) clock system setting. Calculation formula: controller_clk = (APLL or
APB) / (div_num + div_a / div_b + 1).
Note : The clocks of the DAC digital controller use the ADC digital controller clock divider.
Espressif Systems 227
Submit Document Feedback
Release v4.4

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Espressif ESP32-S2 and is the answer not in the manual?

Espressif ESP32-S2 Specifications

General IconGeneral
BrandEspressif
ModelESP32-S2
CategorySingle board computers
LanguageEnglish