SAME54P20A Test Project
rstc.h
Go to the documentation of this file.
1 
30 #ifndef _SAME54_RSTC_INSTANCE_
31 #define _SAME54_RSTC_INSTANCE_
32 
33 /* ========== Register definition for RSTC peripheral ========== */
34 #if (defined(__ASSEMBLY__) || defined(__IAR_SYSTEMS_ASM__))
35 #define REG_RSTC_RCAUSE (0x40000C00)
36 #define REG_RSTC_BKUPEXIT (0x40000C02)
37 #else
38 #define REG_RSTC_RCAUSE (*(RoReg8 *)0x40000C00UL)
39 #define REG_RSTC_BKUPEXIT (*(RoReg8 *)0x40000C02UL)
40 #endif /* (defined(__ASSEMBLY__) || defined(__IAR_SYSTEMS_ASM__)) */
41 
42 /* ========== Instance parameters for RSTC peripheral ========== */
43 #define RSTC_BACKUP_IMPLEMENTED 1
44 #define RSTC_HIB_IMPLEMENTED 1
45 #define RSTC_NUMBER_OF_EXTWAKE 0 // number of external wakeup line
46 #define RSTC_NVMRST_IMPLEMENTED 1
47 
48 #endif /* _SAME54_RSTC_INSTANCE_ */