Merge pull request #196 from pfalcon/pfalcon

esp8266 headers: A new interrupt no and a new WDT register
This commit is contained in:
sheinz 2016-08-22 07:58:38 +03:00 committed by GitHub
commit 46840baed4
2 changed files with 4 additions and 1 deletions

View file

@ -17,6 +17,7 @@
/* Interrupt numbers for level 1 exception handler. */
typedef enum {
INUM_WDEV_FIQ = 0,
INUM_SLC = 1,
INUM_SPI = 2,
INUM_GPIO = 4,

View file

@ -25,7 +25,9 @@ struct WDT_REGS {
uint32_t volatile CTRL; // 0x00
uint32_t volatile REG1; // 0x04
uint32_t volatile REG2; // 0x08
uint32_t volatile _unused[2]; // 0x0c - 0x10
// Current value, decrementing
uint32_t volatile VAL; // 0x0c
uint32_t volatile _unused[1]; // 0x10
uint32_t volatile FEED; // 0x14
};