SAME54P20A Test Project
wdt.h
Go to the documentation of this file.
1 
30 #ifndef _SAME54_WDT_INSTANCE_
31 #define _SAME54_WDT_INSTANCE_
32 
33 /* ========== Register definition for WDT peripheral ========== */
34 #if (defined(__ASSEMBLY__) || defined(__IAR_SYSTEMS_ASM__))
35 #define REG_WDT_CTRLA (0x40002000)
36 #define REG_WDT_CONFIG (0x40002001)
37 #define REG_WDT_EWCTRL (0x40002002)
38 #define REG_WDT_INTENCLR (0x40002004)
39 #define REG_WDT_INTENSET (0x40002005)
40 #define REG_WDT_INTFLAG (0x40002006)
41 #define REG_WDT_SYNCBUSY (0x40002008)
42 #define REG_WDT_CLEAR (0x4000200C)
43 #else
44 #define REG_WDT_CTRLA (*(RwReg8 *)0x40002000UL)
45 #define REG_WDT_CONFIG (*(RwReg8 *)0x40002001UL)
46 #define REG_WDT_EWCTRL (*(RwReg8 *)0x40002002UL)
47 #define REG_WDT_INTENCLR (*(RwReg8 *)0x40002004UL)
48 #define REG_WDT_INTENSET (*(RwReg8 *)0x40002005UL)
49 #define REG_WDT_INTFLAG (*(RwReg8 *)0x40002006UL)
50 #define REG_WDT_SYNCBUSY (*(RoReg *)0x40002008UL)
51 #define REG_WDT_CLEAR (*(WoReg8 *)0x4000200CUL)
52 #endif /* (defined(__ASSEMBLY__) || defined(__IAR_SYSTEMS_ASM__)) */
53 
54 
55 #endif /* _SAME54_WDT_INSTANCE_ */