Espressif ESP32-S2 Programming Manual page 1102

Table of Contents

Advertisement

Chapter 2. API Reference
UART configuration
ADC configuration
Contains:
CONFIG_ADC_DISABLE_DAC
CONFIG_ADC_FORCE_XPD_FSM
CONFIG_ADC_FORCE_XPD_FSM
Use the FSM to control ADC power
Found in:
Component config
ADC power can be controlled by the FSM instead of software. This allows the ADC to be shut off when
it is not working leading to lower power consumption. However using the FSM control ADC power will
increase the noise of ADC.
Default value:
• No (disabled)
CONFIG_ADC_DISABLE_DAC
Disable DAC when ADC2 is used on GPIO 25 and 26
Found in:
Component config
If this is set, the ADC2 driver will disable the output of the DAC corresponding to the specified channel.
This is the default value.
For testing, disable this option so that we can measure the output of DAC by internal ADC.
Default value:
• Yes (enabled)
MCPWM configuration
CONFIG_MCPWM_ISR_IN_IRAM
CONFIG_MCPWM_ISR_IN_IRAM
Place MCPWM ISR function into IRAM
Found in:
Component config
If this option is not selected, the MCPWM interrupt will be deferred when the Cache is in a disabled
state (e.g. Flash write/erase operation).
Note that if this option is selected, all user registered ISR callbacks should never try to use cache as well.
(with IRAM_ATTR)
Default value:
• No (disabled)
SPI configuration
Contains:
CONFIG_SPI_MASTER_ISR_IN_IRAM
CONFIG_SPI_SLAVE_ISR_IN_IRAM
CONFIG_SPI_MASTER_IN_IRAM
CONFIG_SPI_SLAVE_IN_IRAM
Espressif Systems
>
Driver configurations
>
Driver configurations
Contains:
>
Driver configurations
Submit Document Feedback
>
ADC configuration
>
ADC configuration
>
MCPWM configuration
1091
Release v4.4

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Subscribe to Our Youtube Channel

Table of Contents

Save PDF