mikroSDK Reference Manual
|
Macros | |
#define | WDOG_BASE (0x40052000u) |
#define | WDOG ((WDOG_Type *)WDOG_BASE) |
#define | WDOG_BASE_ADDRS { WDOG_BASE } |
#define | WDOG_BASE_PTRS { WDOG } |
#define | WDOG_IRQS { WDOG_EWM_IRQn } |
#define | WDOG_STCTRLH_STNDBYEN_MASK 0x100u |
#define | WDOG_STCTRLH_STNDBYEN_SHIFT 8 |
STCTRLH - Watchdog Status and Control Register High | |
#define | WDOG_STCTRLH_WDOGEN_MASK (0x1U) |
#define | WDOG_STCTRLH_WDOGEN_SHIFT (0U) |
#define | WDOG_STCTRLH_WDOGEN(x) (((uint16_t)(((uint16_t)(x)) << WDOG_STCTRLH_WDOGEN_SHIFT)) & WDOG_STCTRLH_WDOGEN_MASK) |
#define | WDOG_STCTRLH_CLKSRC_MASK (0x2U) |
#define | WDOG_STCTRLH_CLKSRC_SHIFT (1U) |
#define | WDOG_STCTRLH_CLKSRC(x) (((uint16_t)(((uint16_t)(x)) << WDOG_STCTRLH_CLKSRC_SHIFT)) & WDOG_STCTRLH_CLKSRC_MASK) |
#define | WDOG_STCTRLH_IRQRSTEN_MASK (0x4U) |
#define | WDOG_STCTRLH_IRQRSTEN_SHIFT (2U) |
#define | WDOG_STCTRLH_IRQRSTEN(x) (((uint16_t)(((uint16_t)(x)) << WDOG_STCTRLH_IRQRSTEN_SHIFT)) & WDOG_STCTRLH_IRQRSTEN_MASK) |
#define | WDOG_STCTRLH_WINEN_MASK (0x8U) |
#define | WDOG_STCTRLH_WINEN_SHIFT (3U) |
#define | WDOG_STCTRLH_WINEN(x) (((uint16_t)(((uint16_t)(x)) << WDOG_STCTRLH_WINEN_SHIFT)) & WDOG_STCTRLH_WINEN_MASK) |
#define | WDOG_STCTRLH_ALLOWUPDATE_MASK (0x10U) |
#define | WDOG_STCTRLH_ALLOWUPDATE_SHIFT (4U) |
#define | WDOG_STCTRLH_ALLOWUPDATE(x) (((uint16_t)(((uint16_t)(x)) << WDOG_STCTRLH_ALLOWUPDATE_SHIFT)) & WDOG_STCTRLH_ALLOWUPDATE_MASK) |
#define | WDOG_STCTRLH_DBGEN_MASK (0x20U) |
#define | WDOG_STCTRLH_DBGEN_SHIFT (5U) |
#define | WDOG_STCTRLH_DBGEN(x) (((uint16_t)(((uint16_t)(x)) << WDOG_STCTRLH_DBGEN_SHIFT)) & WDOG_STCTRLH_DBGEN_MASK) |
#define | WDOG_STCTRLH_STOPEN_MASK (0x40U) |
#define | WDOG_STCTRLH_STOPEN_SHIFT (6U) |
#define | WDOG_STCTRLH_STOPEN(x) (((uint16_t)(((uint16_t)(x)) << WDOG_STCTRLH_STOPEN_SHIFT)) & WDOG_STCTRLH_STOPEN_MASK) |
#define | WDOG_STCTRLH_WAITEN_MASK (0x80U) |
#define | WDOG_STCTRLH_WAITEN_SHIFT (7U) |
#define | WDOG_STCTRLH_WAITEN(x) (((uint16_t)(((uint16_t)(x)) << WDOG_STCTRLH_WAITEN_SHIFT)) & WDOG_STCTRLH_WAITEN_MASK) |
#define | WDOG_STCTRLH_TESTWDOG_MASK (0x400U) |
#define | WDOG_STCTRLH_TESTWDOG_SHIFT (10U) |
#define | WDOG_STCTRLH_TESTWDOG(x) (((uint16_t)(((uint16_t)(x)) << WDOG_STCTRLH_TESTWDOG_SHIFT)) & WDOG_STCTRLH_TESTWDOG_MASK) |
#define | WDOG_STCTRLH_TESTSEL_MASK (0x800U) |
#define | WDOG_STCTRLH_TESTSEL_SHIFT (11U) |
#define | WDOG_STCTRLH_TESTSEL(x) (((uint16_t)(((uint16_t)(x)) << WDOG_STCTRLH_TESTSEL_SHIFT)) & WDOG_STCTRLH_TESTSEL_MASK) |
#define | WDOG_STCTRLH_BYTESEL_MASK (0x3000U) |
#define | WDOG_STCTRLH_BYTESEL_SHIFT (12U) |
#define | WDOG_STCTRLH_BYTESEL(x) (((uint16_t)(((uint16_t)(x)) << WDOG_STCTRLH_BYTESEL_SHIFT)) & WDOG_STCTRLH_BYTESEL_MASK) |
#define | WDOG_STCTRLH_DISTESTWDOG_MASK (0x4000U) |
#define | WDOG_STCTRLH_DISTESTWDOG_SHIFT (14U) |
#define | WDOG_STCTRLH_DISTESTWDOG(x) (((uint16_t)(((uint16_t)(x)) << WDOG_STCTRLH_DISTESTWDOG_SHIFT)) & WDOG_STCTRLH_DISTESTWDOG_MASK) |
#define | WDOG_STCTRLH_WDOGEN_MASK 0x1u |
#define | WDOG_STCTRLH_WDOGEN_SHIFT 0 |
#define | WDOG_STCTRLH_CLKSRC_MASK 0x2u |
#define | WDOG_STCTRLH_CLKSRC_SHIFT 1 |
#define | WDOG_STCTRLH_IRQRSTEN_MASK 0x4u |
#define | WDOG_STCTRLH_IRQRSTEN_SHIFT 2 |
#define | WDOG_STCTRLH_WINEN_MASK 0x8u |
#define | WDOG_STCTRLH_WINEN_SHIFT 3 |
#define | WDOG_STCTRLH_ALLOWUPDATE_MASK 0x10u |
#define | WDOG_STCTRLH_ALLOWUPDATE_SHIFT 4 |
#define | WDOG_STCTRLH_DBGEN_MASK 0x20u |
#define | WDOG_STCTRLH_DBGEN_SHIFT 5 |
#define | WDOG_STCTRLH_STOPEN_MASK 0x40u |
#define | WDOG_STCTRLH_STOPEN_SHIFT 6 |
#define | WDOG_STCTRLH_WAITEN_MASK 0x80u |
#define | WDOG_STCTRLH_WAITEN_SHIFT 7 |
#define | WDOG_STCTRLH_TESTWDOG_MASK 0x400u |
#define | WDOG_STCTRLH_TESTWDOG_SHIFT 10 |
#define | WDOG_STCTRLH_TESTSEL_MASK 0x800u |
#define | WDOG_STCTRLH_TESTSEL_SHIFT 11 |
#define | WDOG_STCTRLH_BYTESEL_MASK 0x3000u |
#define | WDOG_STCTRLH_BYTESEL_SHIFT 12 |
#define | WDOG_STCTRLH_BYTESEL(x) (((uint16_t)(((uint16_t)(x))<<WDOG_STCTRLH_BYTESEL_SHIFT))&WDOG_STCTRLH_BYTESEL_MASK) |
#define | WDOG_STCTRLH_DISTESTWDOG_MASK 0x4000u |
#define | WDOG_STCTRLH_DISTESTWDOG_SHIFT 14 |
#define | WDOG_STCTRLH_WDOGEN_MASK (0x1U) |
#define | WDOG_STCTRLH_WDOGEN_SHIFT (0U) |
#define | WDOG_STCTRLH_WDOGEN(x) (((uint16_t)(((uint16_t)(x)) << WDOG_STCTRLH_WDOGEN_SHIFT)) & WDOG_STCTRLH_WDOGEN_MASK) |
#define | WDOG_STCTRLH_CLKSRC_MASK (0x2U) |
#define | WDOG_STCTRLH_CLKSRC_SHIFT (1U) |
#define | WDOG_STCTRLH_CLKSRC(x) (((uint16_t)(((uint16_t)(x)) << WDOG_STCTRLH_CLKSRC_SHIFT)) & WDOG_STCTRLH_CLKSRC_MASK) |
#define | WDOG_STCTRLH_IRQRSTEN_MASK (0x4U) |
#define | WDOG_STCTRLH_IRQRSTEN_SHIFT (2U) |
#define | WDOG_STCTRLH_IRQRSTEN(x) (((uint16_t)(((uint16_t)(x)) << WDOG_STCTRLH_IRQRSTEN_SHIFT)) & WDOG_STCTRLH_IRQRSTEN_MASK) |
#define | WDOG_STCTRLH_WINEN_MASK (0x8U) |
#define | WDOG_STCTRLH_WINEN_SHIFT (3U) |
#define | WDOG_STCTRLH_WINEN(x) (((uint16_t)(((uint16_t)(x)) << WDOG_STCTRLH_WINEN_SHIFT)) & WDOG_STCTRLH_WINEN_MASK) |
#define | WDOG_STCTRLH_ALLOWUPDATE_MASK (0x10U) |
#define | WDOG_STCTRLH_ALLOWUPDATE_SHIFT (4U) |
#define | WDOG_STCTRLH_ALLOWUPDATE(x) (((uint16_t)(((uint16_t)(x)) << WDOG_STCTRLH_ALLOWUPDATE_SHIFT)) & WDOG_STCTRLH_ALLOWUPDATE_MASK) |
#define | WDOG_STCTRLH_DBGEN_MASK (0x20U) |
#define | WDOG_STCTRLH_DBGEN_SHIFT (5U) |
#define | WDOG_STCTRLH_DBGEN(x) (((uint16_t)(((uint16_t)(x)) << WDOG_STCTRLH_DBGEN_SHIFT)) & WDOG_STCTRLH_DBGEN_MASK) |
#define | WDOG_STCTRLH_STOPEN_MASK (0x40U) |
#define | WDOG_STCTRLH_STOPEN_SHIFT (6U) |
#define | WDOG_STCTRLH_STOPEN(x) (((uint16_t)(((uint16_t)(x)) << WDOG_STCTRLH_STOPEN_SHIFT)) & WDOG_STCTRLH_STOPEN_MASK) |
#define | WDOG_STCTRLH_WAITEN_MASK (0x80U) |
#define | WDOG_STCTRLH_WAITEN_SHIFT (7U) |
#define | WDOG_STCTRLH_WAITEN(x) (((uint16_t)(((uint16_t)(x)) << WDOG_STCTRLH_WAITEN_SHIFT)) & WDOG_STCTRLH_WAITEN_MASK) |
#define | WDOG_STCTRLH_TESTWDOG_MASK (0x400U) |
#define | WDOG_STCTRLH_TESTWDOG_SHIFT (10U) |
#define | WDOG_STCTRLH_TESTWDOG(x) (((uint16_t)(((uint16_t)(x)) << WDOG_STCTRLH_TESTWDOG_SHIFT)) & WDOG_STCTRLH_TESTWDOG_MASK) |
#define | WDOG_STCTRLH_TESTSEL_MASK (0x800U) |
#define | WDOG_STCTRLH_TESTSEL_SHIFT (11U) |
#define | WDOG_STCTRLH_TESTSEL(x) (((uint16_t)(((uint16_t)(x)) << WDOG_STCTRLH_TESTSEL_SHIFT)) & WDOG_STCTRLH_TESTSEL_MASK) |
#define | WDOG_STCTRLH_BYTESEL_MASK (0x3000U) |
#define | WDOG_STCTRLH_BYTESEL_SHIFT (12U) |
#define | WDOG_STCTRLH_BYTESEL(x) (((uint16_t)(((uint16_t)(x)) << WDOG_STCTRLH_BYTESEL_SHIFT)) & WDOG_STCTRLH_BYTESEL_MASK) |
#define | WDOG_STCTRLH_DISTESTWDOG_MASK (0x4000U) |
#define | WDOG_STCTRLH_DISTESTWDOG_SHIFT (14U) |
#define | WDOG_STCTRLH_DISTESTWDOG(x) (((uint16_t)(((uint16_t)(x)) << WDOG_STCTRLH_DISTESTWDOG_SHIFT)) & WDOG_STCTRLH_DISTESTWDOG_MASK) |
#define | WDOG_STCTRLH_WDOGEN_MASK (0x1U) |
#define | WDOG_STCTRLH_WDOGEN_SHIFT (0U) |
#define | WDOG_STCTRLH_WDOGEN(x) (((uint16_t)(((uint16_t)(x)) << WDOG_STCTRLH_WDOGEN_SHIFT)) & WDOG_STCTRLH_WDOGEN_MASK) |
#define | WDOG_STCTRLH_CLKSRC_MASK (0x2U) |
#define | WDOG_STCTRLH_CLKSRC_SHIFT (1U) |
#define | WDOG_STCTRLH_CLKSRC(x) (((uint16_t)(((uint16_t)(x)) << WDOG_STCTRLH_CLKSRC_SHIFT)) & WDOG_STCTRLH_CLKSRC_MASK) |
#define | WDOG_STCTRLH_IRQRSTEN_MASK (0x4U) |
#define | WDOG_STCTRLH_IRQRSTEN_SHIFT (2U) |
#define | WDOG_STCTRLH_IRQRSTEN(x) (((uint16_t)(((uint16_t)(x)) << WDOG_STCTRLH_IRQRSTEN_SHIFT)) & WDOG_STCTRLH_IRQRSTEN_MASK) |
#define | WDOG_STCTRLH_WINEN_MASK (0x8U) |
#define | WDOG_STCTRLH_WINEN_SHIFT (3U) |
#define | WDOG_STCTRLH_WINEN(x) (((uint16_t)(((uint16_t)(x)) << WDOG_STCTRLH_WINEN_SHIFT)) & WDOG_STCTRLH_WINEN_MASK) |
#define | WDOG_STCTRLH_ALLOWUPDATE_MASK (0x10U) |
#define | WDOG_STCTRLH_ALLOWUPDATE_SHIFT (4U) |
#define | WDOG_STCTRLH_ALLOWUPDATE(x) (((uint16_t)(((uint16_t)(x)) << WDOG_STCTRLH_ALLOWUPDATE_SHIFT)) & WDOG_STCTRLH_ALLOWUPDATE_MASK) |
#define | WDOG_STCTRLH_DBGEN_MASK (0x20U) |
#define | WDOG_STCTRLH_DBGEN_SHIFT (5U) |
#define | WDOG_STCTRLH_DBGEN(x) (((uint16_t)(((uint16_t)(x)) << WDOG_STCTRLH_DBGEN_SHIFT)) & WDOG_STCTRLH_DBGEN_MASK) |
#define | WDOG_STCTRLH_STOPEN_MASK (0x40U) |
#define | WDOG_STCTRLH_STOPEN_SHIFT (6U) |
#define | WDOG_STCTRLH_STOPEN(x) (((uint16_t)(((uint16_t)(x)) << WDOG_STCTRLH_STOPEN_SHIFT)) & WDOG_STCTRLH_STOPEN_MASK) |
#define | WDOG_STCTRLH_WAITEN_MASK (0x80U) |
#define | WDOG_STCTRLH_WAITEN_SHIFT (7U) |
#define | WDOG_STCTRLH_WAITEN(x) (((uint16_t)(((uint16_t)(x)) << WDOG_STCTRLH_WAITEN_SHIFT)) & WDOG_STCTRLH_WAITEN_MASK) |
#define | WDOG_STCTRLH_TESTWDOG_MASK (0x400U) |
#define | WDOG_STCTRLH_TESTWDOG_SHIFT (10U) |
#define | WDOG_STCTRLH_TESTWDOG(x) (((uint16_t)(((uint16_t)(x)) << WDOG_STCTRLH_TESTWDOG_SHIFT)) & WDOG_STCTRLH_TESTWDOG_MASK) |
#define | WDOG_STCTRLH_TESTSEL_MASK (0x800U) |
#define | WDOG_STCTRLH_TESTSEL_SHIFT (11U) |
#define | WDOG_STCTRLH_TESTSEL(x) (((uint16_t)(((uint16_t)(x)) << WDOG_STCTRLH_TESTSEL_SHIFT)) & WDOG_STCTRLH_TESTSEL_MASK) |
#define | WDOG_STCTRLH_BYTESEL_MASK (0x3000U) |
#define | WDOG_STCTRLH_BYTESEL_SHIFT (12U) |
#define | WDOG_STCTRLH_BYTESEL(x) (((uint16_t)(((uint16_t)(x)) << WDOG_STCTRLH_BYTESEL_SHIFT)) & WDOG_STCTRLH_BYTESEL_MASK) |
#define | WDOG_STCTRLH_DISTESTWDOG_MASK (0x4000U) |
#define | WDOG_STCTRLH_DISTESTWDOG_SHIFT (14U) |
#define | WDOG_STCTRLH_DISTESTWDOG(x) (((uint16_t)(((uint16_t)(x)) << WDOG_STCTRLH_DISTESTWDOG_SHIFT)) & WDOG_STCTRLH_DISTESTWDOG_MASK) |
#define | WDOG_STCTRLH_WDOGEN_MASK (0x1U) |
#define | WDOG_STCTRLH_WDOGEN_SHIFT (0U) |
#define | WDOG_STCTRLH_WDOGEN(x) (((uint16_t)(((uint16_t)(x)) << WDOG_STCTRLH_WDOGEN_SHIFT)) & WDOG_STCTRLH_WDOGEN_MASK) |
#define | WDOG_STCTRLH_CLKSRC_MASK (0x2U) |
#define | WDOG_STCTRLH_CLKSRC_SHIFT (1U) |
#define | WDOG_STCTRLH_CLKSRC(x) (((uint16_t)(((uint16_t)(x)) << WDOG_STCTRLH_CLKSRC_SHIFT)) & WDOG_STCTRLH_CLKSRC_MASK) |
#define | WDOG_STCTRLH_IRQRSTEN_MASK (0x4U) |
#define | WDOG_STCTRLH_IRQRSTEN_SHIFT (2U) |
#define | WDOG_STCTRLH_IRQRSTEN(x) (((uint16_t)(((uint16_t)(x)) << WDOG_STCTRLH_IRQRSTEN_SHIFT)) & WDOG_STCTRLH_IRQRSTEN_MASK) |
#define | WDOG_STCTRLH_WINEN_MASK (0x8U) |
#define | WDOG_STCTRLH_WINEN_SHIFT (3U) |
#define | WDOG_STCTRLH_WINEN(x) (((uint16_t)(((uint16_t)(x)) << WDOG_STCTRLH_WINEN_SHIFT)) & WDOG_STCTRLH_WINEN_MASK) |
#define | WDOG_STCTRLH_ALLOWUPDATE_MASK (0x10U) |
#define | WDOG_STCTRLH_ALLOWUPDATE_SHIFT (4U) |
#define | WDOG_STCTRLH_ALLOWUPDATE(x) (((uint16_t)(((uint16_t)(x)) << WDOG_STCTRLH_ALLOWUPDATE_SHIFT)) & WDOG_STCTRLH_ALLOWUPDATE_MASK) |
#define | WDOG_STCTRLH_DBGEN_MASK (0x20U) |
#define | WDOG_STCTRLH_DBGEN_SHIFT (5U) |
#define | WDOG_STCTRLH_DBGEN(x) (((uint16_t)(((uint16_t)(x)) << WDOG_STCTRLH_DBGEN_SHIFT)) & WDOG_STCTRLH_DBGEN_MASK) |
#define | WDOG_STCTRLH_STOPEN_MASK (0x40U) |
#define | WDOG_STCTRLH_STOPEN_SHIFT (6U) |
#define | WDOG_STCTRLH_STOPEN(x) (((uint16_t)(((uint16_t)(x)) << WDOG_STCTRLH_STOPEN_SHIFT)) & WDOG_STCTRLH_STOPEN_MASK) |
#define | WDOG_STCTRLH_WAITEN_MASK (0x80U) |
#define | WDOG_STCTRLH_WAITEN_SHIFT (7U) |
#define | WDOG_STCTRLH_WAITEN(x) (((uint16_t)(((uint16_t)(x)) << WDOG_STCTRLH_WAITEN_SHIFT)) & WDOG_STCTRLH_WAITEN_MASK) |
#define | WDOG_STCTRLH_TESTWDOG_MASK (0x400U) |
#define | WDOG_STCTRLH_TESTWDOG_SHIFT (10U) |
#define | WDOG_STCTRLH_TESTWDOG(x) (((uint16_t)(((uint16_t)(x)) << WDOG_STCTRLH_TESTWDOG_SHIFT)) & WDOG_STCTRLH_TESTWDOG_MASK) |
#define | WDOG_STCTRLH_TESTSEL_MASK (0x800U) |
#define | WDOG_STCTRLH_TESTSEL_SHIFT (11U) |
#define | WDOG_STCTRLH_TESTSEL(x) (((uint16_t)(((uint16_t)(x)) << WDOG_STCTRLH_TESTSEL_SHIFT)) & WDOG_STCTRLH_TESTSEL_MASK) |
#define | WDOG_STCTRLH_BYTESEL_MASK (0x3000U) |
#define | WDOG_STCTRLH_BYTESEL_SHIFT (12U) |
#define | WDOG_STCTRLH_BYTESEL(x) (((uint16_t)(((uint16_t)(x)) << WDOG_STCTRLH_BYTESEL_SHIFT)) & WDOG_STCTRLH_BYTESEL_MASK) |
#define | WDOG_STCTRLH_DISTESTWDOG_MASK (0x4000U) |
#define | WDOG_STCTRLH_DISTESTWDOG_SHIFT (14U) |
#define | WDOG_STCTRLH_DISTESTWDOG(x) (((uint16_t)(((uint16_t)(x)) << WDOG_STCTRLH_DISTESTWDOG_SHIFT)) & WDOG_STCTRLH_DISTESTWDOG_MASK) |
#define | WDOG_STCTRLH_WDOGEN_MASK (0x1U) |
#define | WDOG_STCTRLH_WDOGEN_SHIFT (0U) |
#define | WDOG_STCTRLH_WDOGEN(x) (((uint16_t)(((uint16_t)(x)) << WDOG_STCTRLH_WDOGEN_SHIFT)) & WDOG_STCTRLH_WDOGEN_MASK) |
#define | WDOG_STCTRLH_CLKSRC_MASK (0x2U) |
#define | WDOG_STCTRLH_CLKSRC_SHIFT (1U) |
#define | WDOG_STCTRLH_CLKSRC(x) (((uint16_t)(((uint16_t)(x)) << WDOG_STCTRLH_CLKSRC_SHIFT)) & WDOG_STCTRLH_CLKSRC_MASK) |
#define | WDOG_STCTRLH_IRQRSTEN_MASK (0x4U) |
#define | WDOG_STCTRLH_IRQRSTEN_SHIFT (2U) |
#define | WDOG_STCTRLH_IRQRSTEN(x) (((uint16_t)(((uint16_t)(x)) << WDOG_STCTRLH_IRQRSTEN_SHIFT)) & WDOG_STCTRLH_IRQRSTEN_MASK) |
#define | WDOG_STCTRLH_WINEN_MASK (0x8U) |
#define | WDOG_STCTRLH_WINEN_SHIFT (3U) |
#define | WDOG_STCTRLH_WINEN(x) (((uint16_t)(((uint16_t)(x)) << WDOG_STCTRLH_WINEN_SHIFT)) & WDOG_STCTRLH_WINEN_MASK) |
#define | WDOG_STCTRLH_ALLOWUPDATE_MASK (0x10U) |
#define | WDOG_STCTRLH_ALLOWUPDATE_SHIFT (4U) |
#define | WDOG_STCTRLH_ALLOWUPDATE(x) (((uint16_t)(((uint16_t)(x)) << WDOG_STCTRLH_ALLOWUPDATE_SHIFT)) & WDOG_STCTRLH_ALLOWUPDATE_MASK) |
#define | WDOG_STCTRLH_DBGEN_MASK (0x20U) |
#define | WDOG_STCTRLH_DBGEN_SHIFT (5U) |
#define | WDOG_STCTRLH_DBGEN(x) (((uint16_t)(((uint16_t)(x)) << WDOG_STCTRLH_DBGEN_SHIFT)) & WDOG_STCTRLH_DBGEN_MASK) |
#define | WDOG_STCTRLH_STOPEN_MASK (0x40U) |
#define | WDOG_STCTRLH_STOPEN_SHIFT (6U) |
#define | WDOG_STCTRLH_STOPEN(x) (((uint16_t)(((uint16_t)(x)) << WDOG_STCTRLH_STOPEN_SHIFT)) & WDOG_STCTRLH_STOPEN_MASK) |
#define | WDOG_STCTRLH_WAITEN_MASK (0x80U) |
#define | WDOG_STCTRLH_WAITEN_SHIFT (7U) |
#define | WDOG_STCTRLH_WAITEN(x) (((uint16_t)(((uint16_t)(x)) << WDOG_STCTRLH_WAITEN_SHIFT)) & WDOG_STCTRLH_WAITEN_MASK) |
#define | WDOG_STCTRLH_TESTWDOG_MASK (0x400U) |
#define | WDOG_STCTRLH_TESTWDOG_SHIFT (10U) |
#define | WDOG_STCTRLH_TESTWDOG(x) (((uint16_t)(((uint16_t)(x)) << WDOG_STCTRLH_TESTWDOG_SHIFT)) & WDOG_STCTRLH_TESTWDOG_MASK) |
#define | WDOG_STCTRLH_TESTSEL_MASK (0x800U) |
#define | WDOG_STCTRLH_TESTSEL_SHIFT (11U) |
#define | WDOG_STCTRLH_TESTSEL(x) (((uint16_t)(((uint16_t)(x)) << WDOG_STCTRLH_TESTSEL_SHIFT)) & WDOG_STCTRLH_TESTSEL_MASK) |
#define | WDOG_STCTRLH_BYTESEL_MASK (0x3000U) |
#define | WDOG_STCTRLH_BYTESEL_SHIFT (12U) |
#define | WDOG_STCTRLH_BYTESEL(x) (((uint16_t)(((uint16_t)(x)) << WDOG_STCTRLH_BYTESEL_SHIFT)) & WDOG_STCTRLH_BYTESEL_MASK) |
#define | WDOG_STCTRLH_DISTESTWDOG_MASK (0x4000U) |
#define | WDOG_STCTRLH_DISTESTWDOG_SHIFT (14U) |
#define | WDOG_STCTRLH_DISTESTWDOG(x) (((uint16_t)(((uint16_t)(x)) << WDOG_STCTRLH_DISTESTWDOG_SHIFT)) & WDOG_STCTRLH_DISTESTWDOG_MASK) |
#define WDOG_BASE (0x40052000u) |
Peripheral WDOG base address
#define WDOG_BASE_ADDRS { WDOG_BASE } |
Array initializer of WDOG peripheral base addresses
#define WDOG_BASE_PTRS { WDOG } |
Array initializer of WDOG peripheral base pointers
#define WDOG_IRQS { WDOG_EWM_IRQn } |
Interrupt vectors for the WDOG peripheral type
#define WDOG_STCTRLH_ALLOWUPDATE | ( | x | ) | (((uint16_t)(((uint16_t)(x)) << WDOG_STCTRLH_ALLOWUPDATE_SHIFT)) & WDOG_STCTRLH_ALLOWUPDATE_MASK) |
ALLOWUPDATE 0b0..No further updates allowed to WDOG write-once registers. 0b1..WDOG write-once registers can be unlocked for updating.
#define WDOG_STCTRLH_ALLOWUPDATE | ( | x | ) | (((uint16_t)(((uint16_t)(x)) << WDOG_STCTRLH_ALLOWUPDATE_SHIFT)) & WDOG_STCTRLH_ALLOWUPDATE_MASK) |
ALLOWUPDATE 0b0..No further updates allowed to WDOG write-once registers. 0b1..WDOG write-once registers can be unlocked for updating.
#define WDOG_STCTRLH_ALLOWUPDATE | ( | x | ) | (((uint16_t)(((uint16_t)(x)) << WDOG_STCTRLH_ALLOWUPDATE_SHIFT)) & WDOG_STCTRLH_ALLOWUPDATE_MASK) |
ALLOWUPDATE 0b0..No further updates allowed to WDOG write-once registers. 0b1..WDOG write-once registers can be unlocked for updating.
#define WDOG_STCTRLH_ALLOWUPDATE | ( | x | ) | (((uint16_t)(((uint16_t)(x)) << WDOG_STCTRLH_ALLOWUPDATE_SHIFT)) & WDOG_STCTRLH_ALLOWUPDATE_MASK) |
ALLOWUPDATE 0b0..No further updates allowed to WDOG write-once registers. 0b1..WDOG write-once registers can be unlocked for updating.
#define WDOG_STCTRLH_ALLOWUPDATE | ( | x | ) | (((uint16_t)(((uint16_t)(x)) << WDOG_STCTRLH_ALLOWUPDATE_SHIFT)) & WDOG_STCTRLH_ALLOWUPDATE_MASK) |
ALLOWUPDATE 0b0..No further updates allowed to WDOG write-once registers. 0b1..WDOG write-once registers can be unlocked for updating.
#define WDOG_STCTRLH_BYTESEL | ( | x | ) | (((uint16_t)(((uint16_t)(x)) << WDOG_STCTRLH_BYTESEL_SHIFT)) & WDOG_STCTRLH_BYTESEL_MASK) |
BYTESEL 0b00..Byte 0 selected 0b01..Byte 1 selected 0b10..Byte 2 selected 0b11..Byte 3 selected
#define WDOG_STCTRLH_BYTESEL | ( | x | ) | (((uint16_t)(((uint16_t)(x))<<WDOG_STCTRLH_BYTESEL_SHIFT))&WDOG_STCTRLH_BYTESEL_MASK) |
BYTESEL 0b00..Byte 0 selected 0b01..Byte 1 selected 0b10..Byte 2 selected 0b11..Byte 3 selected
#define WDOG_STCTRLH_BYTESEL | ( | x | ) | (((uint16_t)(((uint16_t)(x)) << WDOG_STCTRLH_BYTESEL_SHIFT)) & WDOG_STCTRLH_BYTESEL_MASK) |
BYTESEL 0b00..Byte 0 selected 0b01..Byte 1 selected 0b10..Byte 2 selected 0b11..Byte 3 selected
#define WDOG_STCTRLH_BYTESEL | ( | x | ) | (((uint16_t)(((uint16_t)(x)) << WDOG_STCTRLH_BYTESEL_SHIFT)) & WDOG_STCTRLH_BYTESEL_MASK) |
BYTESEL 0b00..Byte 0 selected 0b01..Byte 1 selected 0b10..Byte 2 selected 0b11..Byte 3 selected
#define WDOG_STCTRLH_BYTESEL | ( | x | ) | (((uint16_t)(((uint16_t)(x)) << WDOG_STCTRLH_BYTESEL_SHIFT)) & WDOG_STCTRLH_BYTESEL_MASK) |
BYTESEL 0b00..Byte 0 selected 0b01..Byte 1 selected 0b10..Byte 2 selected 0b11..Byte 3 selected
#define WDOG_STCTRLH_BYTESEL | ( | x | ) | (((uint16_t)(((uint16_t)(x)) << WDOG_STCTRLH_BYTESEL_SHIFT)) & WDOG_STCTRLH_BYTESEL_MASK) |
BYTESEL 0b00..Byte 0 selected 0b01..Byte 1 selected 0b10..Byte 2 selected 0b11..Byte 3 selected
#define WDOG_STCTRLH_CLKSRC | ( | x | ) | (((uint16_t)(((uint16_t)(x)) << WDOG_STCTRLH_CLKSRC_SHIFT)) & WDOG_STCTRLH_CLKSRC_MASK) |
CLKSRC 0b0..WDOG clock sourced from LPO . 0b1..WDOG clock sourced from alternate clock source.
#define WDOG_STCTRLH_CLKSRC | ( | x | ) | (((uint16_t)(((uint16_t)(x)) << WDOG_STCTRLH_CLKSRC_SHIFT)) & WDOG_STCTRLH_CLKSRC_MASK) |
CLKSRC 0b0..WDOG clock sourced from LPO . 0b1..WDOG clock sourced from alternate clock source.
#define WDOG_STCTRLH_CLKSRC | ( | x | ) | (((uint16_t)(((uint16_t)(x)) << WDOG_STCTRLH_CLKSRC_SHIFT)) & WDOG_STCTRLH_CLKSRC_MASK) |
CLKSRC 0b0..WDOG clock sourced from LPO . 0b1..WDOG clock sourced from alternate clock source.
#define WDOG_STCTRLH_CLKSRC | ( | x | ) | (((uint16_t)(((uint16_t)(x)) << WDOG_STCTRLH_CLKSRC_SHIFT)) & WDOG_STCTRLH_CLKSRC_MASK) |
CLKSRC 0b0..WDOG clock sourced from LPO . 0b1..WDOG clock sourced from alternate clock source.
#define WDOG_STCTRLH_CLKSRC | ( | x | ) | (((uint16_t)(((uint16_t)(x)) << WDOG_STCTRLH_CLKSRC_SHIFT)) & WDOG_STCTRLH_CLKSRC_MASK) |
CLKSRC 0b0..WDOG clock sourced from LPO . 0b1..WDOG clock sourced from alternate clock source.
#define WDOG_STCTRLH_DBGEN | ( | x | ) | (((uint16_t)(((uint16_t)(x)) << WDOG_STCTRLH_DBGEN_SHIFT)) & WDOG_STCTRLH_DBGEN_MASK) |
DBGEN 0b0..WDOG is disabled in CPU Debug mode. 0b1..WDOG is enabled in CPU Debug mode.
#define WDOG_STCTRLH_DBGEN | ( | x | ) | (((uint16_t)(((uint16_t)(x)) << WDOG_STCTRLH_DBGEN_SHIFT)) & WDOG_STCTRLH_DBGEN_MASK) |
DBGEN 0b0..WDOG is disabled in CPU Debug mode. 0b1..WDOG is enabled in CPU Debug mode.
#define WDOG_STCTRLH_DBGEN | ( | x | ) | (((uint16_t)(((uint16_t)(x)) << WDOG_STCTRLH_DBGEN_SHIFT)) & WDOG_STCTRLH_DBGEN_MASK) |
DBGEN 0b0..WDOG is disabled in CPU Debug mode. 0b1..WDOG is enabled in CPU Debug mode.
#define WDOG_STCTRLH_DBGEN | ( | x | ) | (((uint16_t)(((uint16_t)(x)) << WDOG_STCTRLH_DBGEN_SHIFT)) & WDOG_STCTRLH_DBGEN_MASK) |
DBGEN 0b0..WDOG is disabled in CPU Debug mode. 0b1..WDOG is enabled in CPU Debug mode.
#define WDOG_STCTRLH_DBGEN | ( | x | ) | (((uint16_t)(((uint16_t)(x)) << WDOG_STCTRLH_DBGEN_SHIFT)) & WDOG_STCTRLH_DBGEN_MASK) |
DBGEN 0b0..WDOG is disabled in CPU Debug mode. 0b1..WDOG is enabled in CPU Debug mode.
#define WDOG_STCTRLH_DISTESTWDOG | ( | x | ) | (((uint16_t)(((uint16_t)(x)) << WDOG_STCTRLH_DISTESTWDOG_SHIFT)) & WDOG_STCTRLH_DISTESTWDOG_MASK) |
DISTESTWDOG 0b0..WDOG functional test mode is not disabled. 0b1..WDOG functional test mode is disabled permanently until reset.
#define WDOG_STCTRLH_DISTESTWDOG | ( | x | ) | (((uint16_t)(((uint16_t)(x)) << WDOG_STCTRLH_DISTESTWDOG_SHIFT)) & WDOG_STCTRLH_DISTESTWDOG_MASK) |
DISTESTWDOG 0b0..WDOG functional test mode is not disabled. 0b1..WDOG functional test mode is disabled permanently until reset.
#define WDOG_STCTRLH_DISTESTWDOG | ( | x | ) | (((uint16_t)(((uint16_t)(x)) << WDOG_STCTRLH_DISTESTWDOG_SHIFT)) & WDOG_STCTRLH_DISTESTWDOG_MASK) |
DISTESTWDOG 0b0..WDOG functional test mode is not disabled. 0b1..WDOG functional test mode is disabled permanently until reset.
#define WDOG_STCTRLH_DISTESTWDOG | ( | x | ) | (((uint16_t)(((uint16_t)(x)) << WDOG_STCTRLH_DISTESTWDOG_SHIFT)) & WDOG_STCTRLH_DISTESTWDOG_MASK) |
DISTESTWDOG 0b0..WDOG functional test mode is not disabled. 0b1..WDOG functional test mode is disabled permanently until reset.
#define WDOG_STCTRLH_DISTESTWDOG | ( | x | ) | (((uint16_t)(((uint16_t)(x)) << WDOG_STCTRLH_DISTESTWDOG_SHIFT)) & WDOG_STCTRLH_DISTESTWDOG_MASK) |
DISTESTWDOG 0b0..WDOG functional test mode is not disabled. 0b1..WDOG functional test mode is disabled permanently until reset.
#define WDOG_STCTRLH_IRQRSTEN | ( | x | ) | (((uint16_t)(((uint16_t)(x)) << WDOG_STCTRLH_IRQRSTEN_SHIFT)) & WDOG_STCTRLH_IRQRSTEN_MASK) |
IRQRSTEN 0b0..WDOG time-out generates reset only. 0b1..WDOG time-out initially generates an interrupt. After WCT, it generates a reset.
#define WDOG_STCTRLH_IRQRSTEN | ( | x | ) | (((uint16_t)(((uint16_t)(x)) << WDOG_STCTRLH_IRQRSTEN_SHIFT)) & WDOG_STCTRLH_IRQRSTEN_MASK) |
IRQRSTEN 0b0..WDOG time-out generates reset only. 0b1..WDOG time-out initially generates an interrupt. After WCT, it generates a reset.
#define WDOG_STCTRLH_IRQRSTEN | ( | x | ) | (((uint16_t)(((uint16_t)(x)) << WDOG_STCTRLH_IRQRSTEN_SHIFT)) & WDOG_STCTRLH_IRQRSTEN_MASK) |
IRQRSTEN 0b0..WDOG time-out generates reset only. 0b1..WDOG time-out initially generates an interrupt. After WCT, it generates a reset.
#define WDOG_STCTRLH_IRQRSTEN | ( | x | ) | (((uint16_t)(((uint16_t)(x)) << WDOG_STCTRLH_IRQRSTEN_SHIFT)) & WDOG_STCTRLH_IRQRSTEN_MASK) |
IRQRSTEN 0b0..WDOG time-out generates reset only. 0b1..WDOG time-out initially generates an interrupt. After WCT, it generates a reset.
#define WDOG_STCTRLH_IRQRSTEN | ( | x | ) | (((uint16_t)(((uint16_t)(x)) << WDOG_STCTRLH_IRQRSTEN_SHIFT)) & WDOG_STCTRLH_IRQRSTEN_MASK) |
IRQRSTEN 0b0..WDOG time-out generates reset only. 0b1..WDOG time-out initially generates an interrupt. After WCT, it generates a reset.
#define WDOG_STCTRLH_STOPEN | ( | x | ) | (((uint16_t)(((uint16_t)(x)) << WDOG_STCTRLH_STOPEN_SHIFT)) & WDOG_STCTRLH_STOPEN_MASK) |
STOPEN 0b0..WDOG is disabled in CPU Stop mode. 0b1..WDOG is enabled in CPU Stop mode.
#define WDOG_STCTRLH_STOPEN | ( | x | ) | (((uint16_t)(((uint16_t)(x)) << WDOG_STCTRLH_STOPEN_SHIFT)) & WDOG_STCTRLH_STOPEN_MASK) |
STOPEN 0b0..WDOG is disabled in CPU Stop mode. 0b1..WDOG is enabled in CPU Stop mode.
#define WDOG_STCTRLH_STOPEN | ( | x | ) | (((uint16_t)(((uint16_t)(x)) << WDOG_STCTRLH_STOPEN_SHIFT)) & WDOG_STCTRLH_STOPEN_MASK) |
STOPEN 0b0..WDOG is disabled in CPU Stop mode. 0b1..WDOG is enabled in CPU Stop mode.
#define WDOG_STCTRLH_STOPEN | ( | x | ) | (((uint16_t)(((uint16_t)(x)) << WDOG_STCTRLH_STOPEN_SHIFT)) & WDOG_STCTRLH_STOPEN_MASK) |
STOPEN 0b0..WDOG is disabled in CPU Stop mode. 0b1..WDOG is enabled in CPU Stop mode.
#define WDOG_STCTRLH_STOPEN | ( | x | ) | (((uint16_t)(((uint16_t)(x)) << WDOG_STCTRLH_STOPEN_SHIFT)) & WDOG_STCTRLH_STOPEN_MASK) |
STOPEN 0b0..WDOG is disabled in CPU Stop mode. 0b1..WDOG is enabled in CPU Stop mode.
#define WDOG_STCTRLH_TESTSEL | ( | x | ) | (((uint16_t)(((uint16_t)(x)) << WDOG_STCTRLH_TESTSEL_SHIFT)) & WDOG_STCTRLH_TESTSEL_MASK) |
TESTSEL 0b0..Quick test. The timer runs in normal operation. You can load a small time-out value to do a quick test. 0b1..Byte test. Puts the timer in the byte test mode where individual bytes of the timer are enabled for operation and are compared for time-out against the corresponding byte of the programmed time-out value. Select the byte through BYTESEL[1:0] for testing.
#define WDOG_STCTRLH_TESTSEL | ( | x | ) | (((uint16_t)(((uint16_t)(x)) << WDOG_STCTRLH_TESTSEL_SHIFT)) & WDOG_STCTRLH_TESTSEL_MASK) |
TESTSEL 0b0..Quick test. The timer runs in normal operation. You can load a small time-out value to do a quick test. 0b1..Byte test. Puts the timer in the byte test mode where individual bytes of the timer are enabled for operation and are compared for time-out against the corresponding byte of the programmed time-out value. Select the byte through BYTESEL[1:0] for testing.
#define WDOG_STCTRLH_TESTSEL | ( | x | ) | (((uint16_t)(((uint16_t)(x)) << WDOG_STCTRLH_TESTSEL_SHIFT)) & WDOG_STCTRLH_TESTSEL_MASK) |
TESTSEL 0b0..Quick test. The timer runs in normal operation. You can load a small time-out value to do a quick test. 0b1..Byte test. Puts the timer in the byte test mode where individual bytes of the timer are enabled for operation and are compared for time-out against the corresponding byte of the programmed time-out value. Select the byte through BYTESEL[1:0] for testing.
#define WDOG_STCTRLH_TESTSEL | ( | x | ) | (((uint16_t)(((uint16_t)(x)) << WDOG_STCTRLH_TESTSEL_SHIFT)) & WDOG_STCTRLH_TESTSEL_MASK) |
TESTSEL 0b0..Quick test. The timer runs in normal operation. You can load a small time-out value to do a quick test. 0b1..Byte test. Puts the timer in the byte test mode where individual bytes of the timer are enabled for operation and are compared for time-out against the corresponding byte of the programmed time-out value. Select the byte through BYTESEL[1:0] for testing.
#define WDOG_STCTRLH_TESTSEL | ( | x | ) | (((uint16_t)(((uint16_t)(x)) << WDOG_STCTRLH_TESTSEL_SHIFT)) & WDOG_STCTRLH_TESTSEL_MASK) |
TESTSEL 0b0..Quick test. The timer runs in normal operation. You can load a small time-out value to do a quick test. 0b1..Byte test. Puts the timer in the byte test mode where individual bytes of the timer are enabled for operation and are compared for time-out against the corresponding byte of the programmed time-out value. Select the byte through BYTESEL[1:0] for testing.
#define WDOG_STCTRLH_WAITEN | ( | x | ) | (((uint16_t)(((uint16_t)(x)) << WDOG_STCTRLH_WAITEN_SHIFT)) & WDOG_STCTRLH_WAITEN_MASK) |
WAITEN 0b0..WDOG is disabled in CPU Wait mode. 0b1..WDOG is enabled in CPU Wait mode.
#define WDOG_STCTRLH_WAITEN | ( | x | ) | (((uint16_t)(((uint16_t)(x)) << WDOG_STCTRLH_WAITEN_SHIFT)) & WDOG_STCTRLH_WAITEN_MASK) |
WAITEN 0b0..WDOG is disabled in CPU Wait mode. 0b1..WDOG is enabled in CPU Wait mode.
#define WDOG_STCTRLH_WAITEN | ( | x | ) | (((uint16_t)(((uint16_t)(x)) << WDOG_STCTRLH_WAITEN_SHIFT)) & WDOG_STCTRLH_WAITEN_MASK) |
WAITEN 0b0..WDOG is disabled in CPU Wait mode. 0b1..WDOG is enabled in CPU Wait mode.
#define WDOG_STCTRLH_WAITEN | ( | x | ) | (((uint16_t)(((uint16_t)(x)) << WDOG_STCTRLH_WAITEN_SHIFT)) & WDOG_STCTRLH_WAITEN_MASK) |
WAITEN 0b0..WDOG is disabled in CPU Wait mode. 0b1..WDOG is enabled in CPU Wait mode.
#define WDOG_STCTRLH_WAITEN | ( | x | ) | (((uint16_t)(((uint16_t)(x)) << WDOG_STCTRLH_WAITEN_SHIFT)) & WDOG_STCTRLH_WAITEN_MASK) |
WAITEN 0b0..WDOG is disabled in CPU Wait mode. 0b1..WDOG is enabled in CPU Wait mode.
#define WDOG_STCTRLH_WDOGEN | ( | x | ) | (((uint16_t)(((uint16_t)(x)) << WDOG_STCTRLH_WDOGEN_SHIFT)) & WDOG_STCTRLH_WDOGEN_MASK) |
WDOGEN 0b0..WDOG is disabled. 0b1..WDOG is enabled.
#define WDOG_STCTRLH_WDOGEN | ( | x | ) | (((uint16_t)(((uint16_t)(x)) << WDOG_STCTRLH_WDOGEN_SHIFT)) & WDOG_STCTRLH_WDOGEN_MASK) |
WDOGEN 0b0..WDOG is disabled. 0b1..WDOG is enabled.
#define WDOG_STCTRLH_WDOGEN | ( | x | ) | (((uint16_t)(((uint16_t)(x)) << WDOG_STCTRLH_WDOGEN_SHIFT)) & WDOG_STCTRLH_WDOGEN_MASK) |
WDOGEN 0b0..WDOG is disabled. 0b1..WDOG is enabled.
#define WDOG_STCTRLH_WDOGEN | ( | x | ) | (((uint16_t)(((uint16_t)(x)) << WDOG_STCTRLH_WDOGEN_SHIFT)) & WDOG_STCTRLH_WDOGEN_MASK) |
WDOGEN 0b0..WDOG is disabled. 0b1..WDOG is enabled.
#define WDOG_STCTRLH_WDOGEN | ( | x | ) | (((uint16_t)(((uint16_t)(x)) << WDOG_STCTRLH_WDOGEN_SHIFT)) & WDOG_STCTRLH_WDOGEN_MASK) |
WDOGEN 0b0..WDOG is disabled. 0b1..WDOG is enabled.
#define WDOG_STCTRLH_WINEN | ( | x | ) | (((uint16_t)(((uint16_t)(x)) << WDOG_STCTRLH_WINEN_SHIFT)) & WDOG_STCTRLH_WINEN_MASK) |
WINEN 0b0..Windowing mode is disabled. 0b1..Windowing mode is enabled.
#define WDOG_STCTRLH_WINEN | ( | x | ) | (((uint16_t)(((uint16_t)(x)) << WDOG_STCTRLH_WINEN_SHIFT)) & WDOG_STCTRLH_WINEN_MASK) |
WINEN 0b0..Windowing mode is disabled. 0b1..Windowing mode is enabled.
#define WDOG_STCTRLH_WINEN | ( | x | ) | (((uint16_t)(((uint16_t)(x)) << WDOG_STCTRLH_WINEN_SHIFT)) & WDOG_STCTRLH_WINEN_MASK) |
WINEN 0b0..Windowing mode is disabled. 0b1..Windowing mode is enabled.
#define WDOG_STCTRLH_WINEN | ( | x | ) | (((uint16_t)(((uint16_t)(x)) << WDOG_STCTRLH_WINEN_SHIFT)) & WDOG_STCTRLH_WINEN_MASK) |
WINEN 0b0..Windowing mode is disabled. 0b1..Windowing mode is enabled.
#define WDOG_STCTRLH_WINEN | ( | x | ) | (((uint16_t)(((uint16_t)(x)) << WDOG_STCTRLH_WINEN_SHIFT)) & WDOG_STCTRLH_WINEN_MASK) |
WINEN 0b0..Windowing mode is disabled. 0b1..Windowing mode is enabled.