2011-09-06 21:05:41 +02:00
|
|
|
/* $asf_license$ */
|
2011-09-05 22:59:49 +02:00
|
|
|
|
|
|
|
#ifndef _SAM3S8_WDT_INSTANCE_
|
|
|
|
#define _SAM3S8_WDT_INSTANCE_
|
|
|
|
|
|
|
|
/* ========== Register definition for WDT peripheral ========== */
|
2011-09-06 21:05:41 +02:00
|
|
|
#ifdef __ASSEMBLY__
|
|
|
|
#define REG_WDT_CR (0x400E1450U) /**< \brief (WDT) Control Register */
|
|
|
|
#define REG_WDT_MR (0x400E1454U) /**< \brief (WDT) Mode Register */
|
|
|
|
#define REG_WDT_SR (0x400E1458U) /**< \brief (WDT) Status Register */
|
|
|
|
#else
|
|
|
|
#define REG_WDT_CR (*(WoReg*)0x400E1450U) /**< \brief (WDT) Control Register */
|
|
|
|
#define REG_WDT_MR (*(RwReg*)0x400E1454U) /**< \brief (WDT) Mode Register */
|
|
|
|
#define REG_WDT_SR (*(RoReg*)0x400E1458U) /**< \brief (WDT) Status Register */
|
|
|
|
#endif /* __ASSEMBLY__ */
|
2011-09-05 22:59:49 +02:00
|
|
|
|
|
|
|
#endif /* _SAM3S8_WDT_INSTANCE_ */
|