refactor(interrupt):put the interrupts definitions in soc/interrupts.h
Now the soc interrupts definitions are scattered around in the esp-idf which are out of sync. Put interrupts definitions in soc/periph_defs.h (!ESP32) or soc/soc.h(ESP32) together in soc/interrupts.h.
This commit is contained in:
@@ -70,6 +70,7 @@ Interrupt , a high-priority interrupt, is used for several things:
|
||||
#define TIMG1_WDT_STG1_HOLD_OFFSET TIMG1_REG_OFFSET(TIMG_WDTCONFIG3_REG(1))
|
||||
#define TIMG1_WDT_FEED_OFFSET TIMG1_REG_OFFSET(TIMG_WDTFEED_REG(1))
|
||||
#define UART0_DATA_REG (0x3FF40078)
|
||||
#define ETS_TG1_WDT_LEVEL_INTR_SOURCE 20
|
||||
|
||||
.macro wdt_clr_intr_status dev
|
||||
movi a2, \dev
|
||||
|
||||
Reference in New Issue
Block a user