1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

cpu/lpc2387: add definition of RSIR bits

Add the bits of the Reset Source Identification Register
This commit is contained in:
Benjamin Valentin 2019-11-09 23:51:43 +01:00 committed by Benjamin Valentin
parent 6a4259e48a
commit 15fcbe837a

View File

@ -424,6 +424,10 @@ Reset, and Code Security/Debugging */
/* Reset, reset source identification */
#define RSIR (*(volatile unsigned long *)(SCB_BASE_ADDR + 0x180))
#define RSIR_POR (BIT0)
#define RSIR_EXTR (BIT1)
#define RSIR_WDTR (BIT2)
#define RSIR_BODR (BIT3)
/* RSID, code security protection */
#define CSPR (*(volatile unsigned long *)(SCB_BASE_ADDR + 0x184))