mirror of
https://github.com/apache/nuttx.git
synced 2026-08-18 20:18:17 +00:00
esp32s3/irq: Enhance IRQ subsystem
- Fix macro values from `arch/xtensa/include/esp32s3/irq.h` - Remove references to unexisting edge-triggered CPU interrupts - Add `esp32s3_getirq` to get IRQ based on core and the `cpuint`
This commit is contained in:
parent
31476bcb34
commit
6089f58f00
3 changed files with 62 additions and 27 deletions
|
|
@ -438,15 +438,9 @@
|
|||
#define ESP32S3_CPUINT_LEVELPERIPH_20 31
|
||||
|
||||
#define ESP32S3_CPUINT_NLEVELPERIPHS 21
|
||||
#define ESP32S3_CPUINT_LEVELSET 0x8fbe333f
|
||||
#define ESP32S3_CPUINT_LEVELSET 0xdffe373f
|
||||
|
||||
#define ESP32S3_CPUINT_EDGEPERIPH_0 10
|
||||
#define ESP32S3_CPUINT_EDGEPERIPH_1 22
|
||||
#define ESP32S3_CPUINT_EDGEPERIPH_2 28
|
||||
#define ESP32S3_CPUINT_EDGEPERIPH_3 30
|
||||
|
||||
#define ESP32S3_CPUINT_NEDGEPERIPHS 4
|
||||
#define ESP32S3_CPUINT_EDGESET 0x50400400
|
||||
#define ESP32S3_CPUINT_NEDGEPERIPHS 0
|
||||
|
||||
#define ESP32S3_CPUINT_NNMIPERIPHS 1
|
||||
#define ESP32S3_CPUINT_NMISET 0x00004000
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue