Merge pull request #196 from pfalcon/pfalcon
esp8266 headers: A new interrupt no and a new WDT register
This commit is contained in:
commit
46840baed4
2 changed files with 4 additions and 1 deletions
|
@ -17,6 +17,7 @@
|
||||||
|
|
||||||
/* Interrupt numbers for level 1 exception handler. */
|
/* Interrupt numbers for level 1 exception handler. */
|
||||||
typedef enum {
|
typedef enum {
|
||||||
|
INUM_WDEV_FIQ = 0,
|
||||||
INUM_SLC = 1,
|
INUM_SLC = 1,
|
||||||
INUM_SPI = 2,
|
INUM_SPI = 2,
|
||||||
INUM_GPIO = 4,
|
INUM_GPIO = 4,
|
||||||
|
|
|
@ -25,7 +25,9 @@ struct WDT_REGS {
|
||||||
uint32_t volatile CTRL; // 0x00
|
uint32_t volatile CTRL; // 0x00
|
||||||
uint32_t volatile REG1; // 0x04
|
uint32_t volatile REG1; // 0x04
|
||||||
uint32_t volatile REG2; // 0x08
|
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
|
uint32_t volatile FEED; // 0x14
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue