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 #1016 background imageLoading...
Page #1016 background image
Chapter 2. API Reference
ESP_INTR_FLAG_SHARED
Interrupt can be shared between ISRs.
ESP_INTR_FLAG_EDGE
Edge-triggered interrupt.
ESP_INTR_FLAG_IRAM
ISR can be called if cache is disabled.
ESP_INTR_FLAG_INTRDISABLED
Return with this interrupt disabled.
ESP_INTR_FLAG_LOWMED
Low and medium prio interrupts. These can be handled in C.
ESP_INTR_FLAG_HIGH
High level interrupts. Need to be handled in assembly.
ESP_INTR_FLAG_LEVELMASK
Mask for all level flags.
ETS_INTERNAL_TIMER0_INTR_SOURCE
Platform timer 0 interrupt source.
The esp_intr_alloc* functions can allocate an int for all ETS_*_INTR_SOURCE interrupt sources that are
routed through the interrupt mux. Apart from these sources, each core also has some internal sources that do
not pass through the interrupt mux. To allocate an interrupt for these sources, pass these pseudo-sources to the
functions.
ETS_INTERNAL_TIMER1_INTR_SOURCE
Platform timer 1 interrupt source.
ETS_INTERNAL_TIMER2_INTR_SOURCE
Platform timer 2 interrupt source.
ETS_INTERNAL_SW0_INTR_SOURCE
Software int source 1.
ETS_INTERNAL_SW1_INTR_SOURCE
Software int source 2.
ETS_INTERNAL_PROFILING_INTR_SOURCE
Int source for profiling.
ETS_INTERNAL_INTR_SOURCE_OFF
Provides SystemView with positive IRQ IDs, otherwise scheduler events are not shown properly
ESP_INTR_ENABLE(inum)
Enable interrupt by interrupt number
ESP_INTR_DISABLE(inum)
Disable interrupt by interrupt number
Type Definitions
typedef void (*intr_handler_t)(void *arg)
Function prototype for interrupt handler function
typedef struct intr_handle_data_t intr_handle_data_t
Interrupt handler associated data structure
typedef intr_handle_data_t *intr_handle_t
Handle to an interrupt handler
2.6.17 Logging library
Espressif Systems 1005
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