mikroSDK Reference Manual
WDOG Register Masks
Mapping Information » Device Peripheral Access Layer » ADC Peripheral Access Layer » AIPS Peripheral Access Layer » AXBS Peripheral Access Layer » CAN Peripheral Access Layer » CAU Peripheral Access Layer » CMP Peripheral Access Layer » CMT Peripheral Access Layer » CRC Peripheral Access Layer » DAC Peripheral Access Layer » DMA Peripheral Access Layer » DMAMUX Peripheral Access Layer » ENET Peripheral Access Layer » EWM Peripheral Access Layer » FB Peripheral Access Layer » FMC Peripheral Access Layer » FTFL Peripheral Access Layer » FTM Peripheral Access Layer » GPIO Peripheral Access Layer » I2C Peripheral Access Layer » I2S Peripheral Access Layer » LLWU Peripheral Access Layer » LPTMR Peripheral Access Layer » MCG Peripheral Access Layer » MCM Peripheral Access Layer » NV Peripheral Access Layer » OSC Peripheral Access Layer » PDB Peripheral Access Layer » PIT Peripheral Access Layer » PMC Peripheral Access Layer » PORT Peripheral Access Layer » RCM Peripheral Access Layer » RFSYS Peripheral Access Layer » RFVBAT Peripheral Access Layer » RNG Peripheral Access Layer » RTC Peripheral Access Layer » SDHC Peripheral Access Layer » SIM Peripheral Access Layer » SMC Peripheral Access Layer » SPI Peripheral Access Layer » SYSMPU Peripheral Access Layer » TSI Peripheral Access Layer » UART Peripheral Access Layer » USB Peripheral Access Layer » USBDCD Peripheral Access Layer » VREF Peripheral Access Layer » WDOG Peripheral Access Layer

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)
 

STCTRLL - Watchdog Status and Control Register Low

#define WDOG_STCTRLL_INTFLG_MASK   (0x8000U)
 
#define WDOG_STCTRLL_INTFLG_SHIFT   (15U)
 
#define WDOG_STCTRLL_INTFLG(x)   (((uint16_t)(((uint16_t)(x)) << WDOG_STCTRLL_INTFLG_SHIFT)) & WDOG_STCTRLL_INTFLG_MASK)
 
#define WDOG_STCTRLL_INTFLG_MASK   0x8000u
 
#define WDOG_STCTRLL_INTFLG_SHIFT   15
 
#define WDOG_STCTRLL_INTFLG_MASK   (0x8000U)
 
#define WDOG_STCTRLL_INTFLG_SHIFT   (15U)
 
#define WDOG_STCTRLL_INTFLG(x)   (((uint16_t)(((uint16_t)(x)) << WDOG_STCTRLL_INTFLG_SHIFT)) & WDOG_STCTRLL_INTFLG_MASK)
 
#define WDOG_STCTRLL_INTFLG_MASK   (0x8000U)
 
#define WDOG_STCTRLL_INTFLG_SHIFT   (15U)
 
#define WDOG_STCTRLL_INTFLG(x)   (((uint16_t)(((uint16_t)(x)) << WDOG_STCTRLL_INTFLG_SHIFT)) & WDOG_STCTRLL_INTFLG_MASK)
 
#define WDOG_STCTRLL_INTFLG_MASK   (0x8000U)
 
#define WDOG_STCTRLL_INTFLG_SHIFT   (15U)
 
#define WDOG_STCTRLL_INTFLG(x)   (((uint16_t)(((uint16_t)(x)) << WDOG_STCTRLL_INTFLG_SHIFT)) & WDOG_STCTRLL_INTFLG_MASK)
 
#define WDOG_STCTRLL_INTFLG_MASK   (0x8000U)
 
#define WDOG_STCTRLL_INTFLG_SHIFT   (15U)
 
#define WDOG_STCTRLL_INTFLG(x)   (((uint16_t)(((uint16_t)(x)) << WDOG_STCTRLL_INTFLG_SHIFT)) & WDOG_STCTRLL_INTFLG_MASK)
 

TOVALH - Watchdog Time-out Value Register High

#define WDOG_TOVALH_TOVALHIGH_MASK   (0xFFFFU)
 
#define WDOG_TOVALH_TOVALHIGH_SHIFT   (0U)
 
#define WDOG_TOVALH_TOVALHIGH(x)   (((uint16_t)(((uint16_t)(x)) << WDOG_TOVALH_TOVALHIGH_SHIFT)) & WDOG_TOVALH_TOVALHIGH_MASK)
 
#define WDOG_TOVALH_TOVALHIGH_MASK   0xFFFFu
 
#define WDOG_TOVALH_TOVALHIGH_SHIFT   0
 
#define WDOG_TOVALH_TOVALHIGH(x)   (((uint16_t)(((uint16_t)(x))<<WDOG_TOVALH_TOVALHIGH_SHIFT))&WDOG_TOVALH_TOVALHIGH_MASK)
 
#define WDOG_TOVALH_TOVALHIGH_MASK   (0xFFFFU)
 
#define WDOG_TOVALH_TOVALHIGH_SHIFT   (0U)
 
#define WDOG_TOVALH_TOVALHIGH(x)   (((uint16_t)(((uint16_t)(x)) << WDOG_TOVALH_TOVALHIGH_SHIFT)) & WDOG_TOVALH_TOVALHIGH_MASK)
 
#define WDOG_TOVALH_TOVALHIGH_MASK   (0xFFFFU)
 
#define WDOG_TOVALH_TOVALHIGH_SHIFT   (0U)
 
#define WDOG_TOVALH_TOVALHIGH(x)   (((uint16_t)(((uint16_t)(x)) << WDOG_TOVALH_TOVALHIGH_SHIFT)) & WDOG_TOVALH_TOVALHIGH_MASK)
 
#define WDOG_TOVALH_TOVALHIGH_MASK   (0xFFFFU)
 
#define WDOG_TOVALH_TOVALHIGH_SHIFT   (0U)
 
#define WDOG_TOVALH_TOVALHIGH(x)   (((uint16_t)(((uint16_t)(x)) << WDOG_TOVALH_TOVALHIGH_SHIFT)) & WDOG_TOVALH_TOVALHIGH_MASK)
 
#define WDOG_TOVALH_TOVALHIGH_MASK   (0xFFFFU)
 
#define WDOG_TOVALH_TOVALHIGH_SHIFT   (0U)
 
#define WDOG_TOVALH_TOVALHIGH(x)   (((uint16_t)(((uint16_t)(x)) << WDOG_TOVALH_TOVALHIGH_SHIFT)) & WDOG_TOVALH_TOVALHIGH_MASK)
 

TOVALL - Watchdog Time-out Value Register Low

#define WDOG_TOVALL_TOVALLOW_MASK   (0xFFFFU)
 
#define WDOG_TOVALL_TOVALLOW_SHIFT   (0U)
 
#define WDOG_TOVALL_TOVALLOW(x)   (((uint16_t)(((uint16_t)(x)) << WDOG_TOVALL_TOVALLOW_SHIFT)) & WDOG_TOVALL_TOVALLOW_MASK)
 
#define WDOG_TOVALL_TOVALLOW_MASK   0xFFFFu
 
#define WDOG_TOVALL_TOVALLOW_SHIFT   0
 
#define WDOG_TOVALL_TOVALLOW(x)   (((uint16_t)(((uint16_t)(x))<<WDOG_TOVALL_TOVALLOW_SHIFT))&WDOG_TOVALL_TOVALLOW_MASK)
 
#define WDOG_TOVALL_TOVALLOW_MASK   (0xFFFFU)
 
#define WDOG_TOVALL_TOVALLOW_SHIFT   (0U)
 
#define WDOG_TOVALL_TOVALLOW(x)   (((uint16_t)(((uint16_t)(x)) << WDOG_TOVALL_TOVALLOW_SHIFT)) & WDOG_TOVALL_TOVALLOW_MASK)
 
#define WDOG_TOVALL_TOVALLOW_MASK   (0xFFFFU)
 
#define WDOG_TOVALL_TOVALLOW_SHIFT   (0U)
 
#define WDOG_TOVALL_TOVALLOW(x)   (((uint16_t)(((uint16_t)(x)) << WDOG_TOVALL_TOVALLOW_SHIFT)) & WDOG_TOVALL_TOVALLOW_MASK)
 
#define WDOG_TOVALL_TOVALLOW_MASK   (0xFFFFU)
 
#define WDOG_TOVALL_TOVALLOW_SHIFT   (0U)
 
#define WDOG_TOVALL_TOVALLOW(x)   (((uint16_t)(((uint16_t)(x)) << WDOG_TOVALL_TOVALLOW_SHIFT)) & WDOG_TOVALL_TOVALLOW_MASK)
 
#define WDOG_TOVALL_TOVALLOW_MASK   (0xFFFFU)
 
#define WDOG_TOVALL_TOVALLOW_SHIFT   (0U)
 
#define WDOG_TOVALL_TOVALLOW(x)   (((uint16_t)(((uint16_t)(x)) << WDOG_TOVALL_TOVALLOW_SHIFT)) & WDOG_TOVALL_TOVALLOW_MASK)
 

WINH - Watchdog Window Register High

#define WDOG_WINH_WINHIGH_MASK   (0xFFFFU)
 
#define WDOG_WINH_WINHIGH_SHIFT   (0U)
 
#define WDOG_WINH_WINHIGH(x)   (((uint16_t)(((uint16_t)(x)) << WDOG_WINH_WINHIGH_SHIFT)) & WDOG_WINH_WINHIGH_MASK)
 
#define WDOG_WINH_WINHIGH_MASK   0xFFFFu
 
#define WDOG_WINH_WINHIGH_SHIFT   0
 
#define WDOG_WINH_WINHIGH(x)   (((uint16_t)(((uint16_t)(x))<<WDOG_WINH_WINHIGH_SHIFT))&WDOG_WINH_WINHIGH_MASK)
 
#define WDOG_WINH_WINHIGH_MASK   (0xFFFFU)
 
#define WDOG_WINH_WINHIGH_SHIFT   (0U)
 
#define WDOG_WINH_WINHIGH(x)   (((uint16_t)(((uint16_t)(x)) << WDOG_WINH_WINHIGH_SHIFT)) & WDOG_WINH_WINHIGH_MASK)
 
#define WDOG_WINH_WINHIGH_MASK   (0xFFFFU)
 
#define WDOG_WINH_WINHIGH_SHIFT   (0U)
 
#define WDOG_WINH_WINHIGH(x)   (((uint16_t)(((uint16_t)(x)) << WDOG_WINH_WINHIGH_SHIFT)) & WDOG_WINH_WINHIGH_MASK)
 
#define WDOG_WINH_WINHIGH_MASK   (0xFFFFU)
 
#define WDOG_WINH_WINHIGH_SHIFT   (0U)
 
#define WDOG_WINH_WINHIGH(x)   (((uint16_t)(((uint16_t)(x)) << WDOG_WINH_WINHIGH_SHIFT)) & WDOG_WINH_WINHIGH_MASK)
 
#define WDOG_WINH_WINHIGH_MASK   (0xFFFFU)
 
#define WDOG_WINH_WINHIGH_SHIFT   (0U)
 
#define WDOG_WINH_WINHIGH(x)   (((uint16_t)(((uint16_t)(x)) << WDOG_WINH_WINHIGH_SHIFT)) & WDOG_WINH_WINHIGH_MASK)
 

WINL - Watchdog Window Register Low

#define WDOG_WINL_WINLOW_MASK   (0xFFFFU)
 
#define WDOG_WINL_WINLOW_SHIFT   (0U)
 
#define WDOG_WINL_WINLOW(x)   (((uint16_t)(((uint16_t)(x)) << WDOG_WINL_WINLOW_SHIFT)) & WDOG_WINL_WINLOW_MASK)
 
#define WDOG_WINL_WINLOW_MASK   0xFFFFu
 
#define WDOG_WINL_WINLOW_SHIFT   0
 
#define WDOG_WINL_WINLOW(x)   (((uint16_t)(((uint16_t)(x))<<WDOG_WINL_WINLOW_SHIFT))&WDOG_WINL_WINLOW_MASK)
 
#define WDOG_WINL_WINLOW_MASK   (0xFFFFU)
 
#define WDOG_WINL_WINLOW_SHIFT   (0U)
 
#define WDOG_WINL_WINLOW(x)   (((uint16_t)(((uint16_t)(x)) << WDOG_WINL_WINLOW_SHIFT)) & WDOG_WINL_WINLOW_MASK)
 
#define WDOG_WINL_WINLOW_MASK   (0xFFFFU)
 
#define WDOG_WINL_WINLOW_SHIFT   (0U)
 
#define WDOG_WINL_WINLOW(x)   (((uint16_t)(((uint16_t)(x)) << WDOG_WINL_WINLOW_SHIFT)) & WDOG_WINL_WINLOW_MASK)
 
#define WDOG_WINL_WINLOW_MASK   (0xFFFFU)
 
#define WDOG_WINL_WINLOW_SHIFT   (0U)
 
#define WDOG_WINL_WINLOW(x)   (((uint16_t)(((uint16_t)(x)) << WDOG_WINL_WINLOW_SHIFT)) & WDOG_WINL_WINLOW_MASK)
 
#define WDOG_WINL_WINLOW_MASK   (0xFFFFU)
 
#define WDOG_WINL_WINLOW_SHIFT   (0U)
 
#define WDOG_WINL_WINLOW(x)   (((uint16_t)(((uint16_t)(x)) << WDOG_WINL_WINLOW_SHIFT)) & WDOG_WINL_WINLOW_MASK)
 

REFRESH - Watchdog Refresh register

#define WDOG_REFRESH_WDOGREFRESH_MASK   (0xFFFFU)
 
#define WDOG_REFRESH_WDOGREFRESH_SHIFT   (0U)
 
#define WDOG_REFRESH_WDOGREFRESH(x)   (((uint16_t)(((uint16_t)(x)) << WDOG_REFRESH_WDOGREFRESH_SHIFT)) & WDOG_REFRESH_WDOGREFRESH_MASK)
 
#define WDOG_REFRESH_WDOGREFRESH_MASK   0xFFFFu
 
#define WDOG_REFRESH_WDOGREFRESH_SHIFT   0
 
#define WDOG_REFRESH_WDOGREFRESH(x)   (((uint16_t)(((uint16_t)(x))<<WDOG_REFRESH_WDOGREFRESH_SHIFT))&WDOG_REFRESH_WDOGREFRESH_MASK)
 
#define WDOG_REFRESH_WDOGREFRESH_MASK   (0xFFFFU)
 
#define WDOG_REFRESH_WDOGREFRESH_SHIFT   (0U)
 
#define WDOG_REFRESH_WDOGREFRESH(x)   (((uint16_t)(((uint16_t)(x)) << WDOG_REFRESH_WDOGREFRESH_SHIFT)) & WDOG_REFRESH_WDOGREFRESH_MASK)
 
#define WDOG_REFRESH_WDOGREFRESH_MASK   (0xFFFFU)
 
#define WDOG_REFRESH_WDOGREFRESH_SHIFT   (0U)
 
#define WDOG_REFRESH_WDOGREFRESH(x)   (((uint16_t)(((uint16_t)(x)) << WDOG_REFRESH_WDOGREFRESH_SHIFT)) & WDOG_REFRESH_WDOGREFRESH_MASK)
 
#define WDOG_REFRESH_WDOGREFRESH_MASK   (0xFFFFU)
 
#define WDOG_REFRESH_WDOGREFRESH_SHIFT   (0U)
 
#define WDOG_REFRESH_WDOGREFRESH(x)   (((uint16_t)(((uint16_t)(x)) << WDOG_REFRESH_WDOGREFRESH_SHIFT)) & WDOG_REFRESH_WDOGREFRESH_MASK)
 
#define WDOG_REFRESH_WDOGREFRESH_MASK   (0xFFFFU)
 
#define WDOG_REFRESH_WDOGREFRESH_SHIFT   (0U)
 
#define WDOG_REFRESH_WDOGREFRESH(x)   (((uint16_t)(((uint16_t)(x)) << WDOG_REFRESH_WDOGREFRESH_SHIFT)) & WDOG_REFRESH_WDOGREFRESH_MASK)
 

UNLOCK - Watchdog Unlock register

#define WDOG_UNLOCK_WDOGUNLOCK_MASK   (0xFFFFU)
 
#define WDOG_UNLOCK_WDOGUNLOCK_SHIFT   (0U)
 
#define WDOG_UNLOCK_WDOGUNLOCK(x)   (((uint16_t)(((uint16_t)(x)) << WDOG_UNLOCK_WDOGUNLOCK_SHIFT)) & WDOG_UNLOCK_WDOGUNLOCK_MASK)
 
#define WDOG_UNLOCK_WDOGUNLOCK_MASK   0xFFFFu
 
#define WDOG_UNLOCK_WDOGUNLOCK_SHIFT   0
 
#define WDOG_UNLOCK_WDOGUNLOCK(x)   (((uint16_t)(((uint16_t)(x))<<WDOG_UNLOCK_WDOGUNLOCK_SHIFT))&WDOG_UNLOCK_WDOGUNLOCK_MASK)
 
#define WDOG_UNLOCK_WDOGUNLOCK_MASK   (0xFFFFU)
 
#define WDOG_UNLOCK_WDOGUNLOCK_SHIFT   (0U)
 
#define WDOG_UNLOCK_WDOGUNLOCK(x)   (((uint16_t)(((uint16_t)(x)) << WDOG_UNLOCK_WDOGUNLOCK_SHIFT)) & WDOG_UNLOCK_WDOGUNLOCK_MASK)
 
#define WDOG_UNLOCK_WDOGUNLOCK_MASK   (0xFFFFU)
 
#define WDOG_UNLOCK_WDOGUNLOCK_SHIFT   (0U)
 
#define WDOG_UNLOCK_WDOGUNLOCK(x)   (((uint16_t)(((uint16_t)(x)) << WDOG_UNLOCK_WDOGUNLOCK_SHIFT)) & WDOG_UNLOCK_WDOGUNLOCK_MASK)
 
#define WDOG_UNLOCK_WDOGUNLOCK_MASK   (0xFFFFU)
 
#define WDOG_UNLOCK_WDOGUNLOCK_SHIFT   (0U)
 
#define WDOG_UNLOCK_WDOGUNLOCK(x)   (((uint16_t)(((uint16_t)(x)) << WDOG_UNLOCK_WDOGUNLOCK_SHIFT)) & WDOG_UNLOCK_WDOGUNLOCK_MASK)
 
#define WDOG_UNLOCK_WDOGUNLOCK_MASK   (0xFFFFU)
 
#define WDOG_UNLOCK_WDOGUNLOCK_SHIFT   (0U)
 
#define WDOG_UNLOCK_WDOGUNLOCK(x)   (((uint16_t)(((uint16_t)(x)) << WDOG_UNLOCK_WDOGUNLOCK_SHIFT)) & WDOG_UNLOCK_WDOGUNLOCK_MASK)
 

TMROUTH - Watchdog Timer Output Register High

#define WDOG_TMROUTH_TIMEROUTHIGH_MASK   (0xFFFFU)
 
#define WDOG_TMROUTH_TIMEROUTHIGH_SHIFT   (0U)
 
#define WDOG_TMROUTH_TIMEROUTHIGH(x)   (((uint16_t)(((uint16_t)(x)) << WDOG_TMROUTH_TIMEROUTHIGH_SHIFT)) & WDOG_TMROUTH_TIMEROUTHIGH_MASK)
 
#define WDOG_TMROUTH_TIMEROUTHIGH_MASK   0xFFFFu
 
#define WDOG_TMROUTH_TIMEROUTHIGH_SHIFT   0
 
#define WDOG_TMROUTH_TIMEROUTHIGH(x)   (((uint16_t)(((uint16_t)(x))<<WDOG_TMROUTH_TIMEROUTHIGH_SHIFT))&WDOG_TMROUTH_TIMEROUTHIGH_MASK)
 
#define WDOG_TMROUTH_TIMEROUTHIGH_MASK   (0xFFFFU)
 
#define WDOG_TMROUTH_TIMEROUTHIGH_SHIFT   (0U)
 
#define WDOG_TMROUTH_TIMEROUTHIGH(x)   (((uint16_t)(((uint16_t)(x)) << WDOG_TMROUTH_TIMEROUTHIGH_SHIFT)) & WDOG_TMROUTH_TIMEROUTHIGH_MASK)
 
#define WDOG_TMROUTH_TIMEROUTHIGH_MASK   (0xFFFFU)
 
#define WDOG_TMROUTH_TIMEROUTHIGH_SHIFT   (0U)
 
#define WDOG_TMROUTH_TIMEROUTHIGH(x)   (((uint16_t)(((uint16_t)(x)) << WDOG_TMROUTH_TIMEROUTHIGH_SHIFT)) & WDOG_TMROUTH_TIMEROUTHIGH_MASK)
 
#define WDOG_TMROUTH_TIMEROUTHIGH_MASK   (0xFFFFU)
 
#define WDOG_TMROUTH_TIMEROUTHIGH_SHIFT   (0U)
 
#define WDOG_TMROUTH_TIMEROUTHIGH(x)   (((uint16_t)(((uint16_t)(x)) << WDOG_TMROUTH_TIMEROUTHIGH_SHIFT)) & WDOG_TMROUTH_TIMEROUTHIGH_MASK)
 
#define WDOG_TMROUTH_TIMEROUTHIGH_MASK   (0xFFFFU)
 
#define WDOG_TMROUTH_TIMEROUTHIGH_SHIFT   (0U)
 
#define WDOG_TMROUTH_TIMEROUTHIGH(x)   (((uint16_t)(((uint16_t)(x)) << WDOG_TMROUTH_TIMEROUTHIGH_SHIFT)) & WDOG_TMROUTH_TIMEROUTHIGH_MASK)
 

TMROUTL - Watchdog Timer Output Register Low

#define WDOG_TMROUTL_TIMEROUTLOW_MASK   (0xFFFFU)
 
#define WDOG_TMROUTL_TIMEROUTLOW_SHIFT   (0U)
 
#define WDOG_TMROUTL_TIMEROUTLOW(x)   (((uint16_t)(((uint16_t)(x)) << WDOG_TMROUTL_TIMEROUTLOW_SHIFT)) & WDOG_TMROUTL_TIMEROUTLOW_MASK)
 
#define WDOG_TMROUTL_TIMEROUTLOW_MASK   0xFFFFu
 
#define WDOG_TMROUTL_TIMEROUTLOW_SHIFT   0
 
#define WDOG_TMROUTL_TIMEROUTLOW(x)   (((uint16_t)(((uint16_t)(x))<<WDOG_TMROUTL_TIMEROUTLOW_SHIFT))&WDOG_TMROUTL_TIMEROUTLOW_MASK)
 
#define WDOG_TMROUTL_TIMEROUTLOW_MASK   (0xFFFFU)
 
#define WDOG_TMROUTL_TIMEROUTLOW_SHIFT   (0U)
 
#define WDOG_TMROUTL_TIMEROUTLOW(x)   (((uint16_t)(((uint16_t)(x)) << WDOG_TMROUTL_TIMEROUTLOW_SHIFT)) & WDOG_TMROUTL_TIMEROUTLOW_MASK)
 
#define WDOG_TMROUTL_TIMEROUTLOW_MASK   (0xFFFFU)
 
#define WDOG_TMROUTL_TIMEROUTLOW_SHIFT   (0U)
 
#define WDOG_TMROUTL_TIMEROUTLOW(x)   (((uint16_t)(((uint16_t)(x)) << WDOG_TMROUTL_TIMEROUTLOW_SHIFT)) & WDOG_TMROUTL_TIMEROUTLOW_MASK)
 
#define WDOG_TMROUTL_TIMEROUTLOW_MASK   (0xFFFFU)
 
#define WDOG_TMROUTL_TIMEROUTLOW_SHIFT   (0U)
 
#define WDOG_TMROUTL_TIMEROUTLOW(x)   (((uint16_t)(((uint16_t)(x)) << WDOG_TMROUTL_TIMEROUTLOW_SHIFT)) & WDOG_TMROUTL_TIMEROUTLOW_MASK)
 
#define WDOG_TMROUTL_TIMEROUTLOW_MASK   (0xFFFFU)
 
#define WDOG_TMROUTL_TIMEROUTLOW_SHIFT   (0U)
 
#define WDOG_TMROUTL_TIMEROUTLOW(x)   (((uint16_t)(((uint16_t)(x)) << WDOG_TMROUTL_TIMEROUTLOW_SHIFT)) & WDOG_TMROUTL_TIMEROUTLOW_MASK)
 

RSTCNT - Watchdog Reset Count register

#define WDOG_RSTCNT_RSTCNT_MASK   (0xFFFFU)
 
#define WDOG_RSTCNT_RSTCNT_SHIFT   (0U)
 
#define WDOG_RSTCNT_RSTCNT(x)   (((uint16_t)(((uint16_t)(x)) << WDOG_RSTCNT_RSTCNT_SHIFT)) & WDOG_RSTCNT_RSTCNT_MASK)
 
#define WDOG_RSTCNT_RSTCNT_MASK   0xFFFFu
 
#define WDOG_RSTCNT_RSTCNT_SHIFT   0
 
#define WDOG_RSTCNT_RSTCNT(x)   (((uint16_t)(((uint16_t)(x))<<WDOG_RSTCNT_RSTCNT_SHIFT))&WDOG_RSTCNT_RSTCNT_MASK)
 
#define WDOG_RSTCNT_RSTCNT_MASK   (0xFFFFU)
 
#define WDOG_RSTCNT_RSTCNT_SHIFT   (0U)
 
#define WDOG_RSTCNT_RSTCNT(x)   (((uint16_t)(((uint16_t)(x)) << WDOG_RSTCNT_RSTCNT_SHIFT)) & WDOG_RSTCNT_RSTCNT_MASK)
 
#define WDOG_RSTCNT_RSTCNT_MASK   (0xFFFFU)
 
#define WDOG_RSTCNT_RSTCNT_SHIFT   (0U)
 
#define WDOG_RSTCNT_RSTCNT(x)   (((uint16_t)(((uint16_t)(x)) << WDOG_RSTCNT_RSTCNT_SHIFT)) & WDOG_RSTCNT_RSTCNT_MASK)
 
#define WDOG_RSTCNT_RSTCNT_MASK   (0xFFFFU)
 
#define WDOG_RSTCNT_RSTCNT_SHIFT   (0U)
 
#define WDOG_RSTCNT_RSTCNT(x)   (((uint16_t)(((uint16_t)(x)) << WDOG_RSTCNT_RSTCNT_SHIFT)) & WDOG_RSTCNT_RSTCNT_MASK)
 
#define WDOG_RSTCNT_RSTCNT_MASK   (0xFFFFU)
 
#define WDOG_RSTCNT_RSTCNT_SHIFT   (0U)
 
#define WDOG_RSTCNT_RSTCNT(x)   (((uint16_t)(((uint16_t)(x)) << WDOG_RSTCNT_RSTCNT_SHIFT)) & WDOG_RSTCNT_RSTCNT_MASK)
 

PRESC - Watchdog Prescaler register

#define WDOG_PRESC_PRESCVAL_MASK   (0x700U)
 
#define WDOG_PRESC_PRESCVAL_SHIFT   (8U)
 
#define WDOG_PRESC_PRESCVAL(x)   (((uint16_t)(((uint16_t)(x)) << WDOG_PRESC_PRESCVAL_SHIFT)) & WDOG_PRESC_PRESCVAL_MASK)
 
#define WDOG_PRESC_PRESCVAL_MASK   0x700u
 
#define WDOG_PRESC_PRESCVAL_SHIFT   8
 
#define WDOG_PRESC_PRESCVAL(x)   (((uint16_t)(((uint16_t)(x))<<WDOG_PRESC_PRESCVAL_SHIFT))&WDOG_PRESC_PRESCVAL_MASK)
 
#define WDOG_PRESC_PRESCVAL_MASK   (0x700U)
 
#define WDOG_PRESC_PRESCVAL_SHIFT   (8U)
 
#define WDOG_PRESC_PRESCVAL(x)   (((uint16_t)(((uint16_t)(x)) << WDOG_PRESC_PRESCVAL_SHIFT)) & WDOG_PRESC_PRESCVAL_MASK)
 
#define WDOG_PRESC_PRESCVAL_MASK   (0x700U)
 
#define WDOG_PRESC_PRESCVAL_SHIFT   (8U)
 
#define WDOG_PRESC_PRESCVAL(x)   (((uint16_t)(((uint16_t)(x)) << WDOG_PRESC_PRESCVAL_SHIFT)) & WDOG_PRESC_PRESCVAL_MASK)
 
#define WDOG_PRESC_PRESCVAL_MASK   (0x700U)
 
#define WDOG_PRESC_PRESCVAL_SHIFT   (8U)
 
#define WDOG_PRESC_PRESCVAL(x)   (((uint16_t)(((uint16_t)(x)) << WDOG_PRESC_PRESCVAL_SHIFT)) & WDOG_PRESC_PRESCVAL_MASK)
 
#define WDOG_PRESC_PRESCVAL_MASK   (0x700U)
 
#define WDOG_PRESC_PRESCVAL_SHIFT   (8U)
 
#define WDOG_PRESC_PRESCVAL(x)   (((uint16_t)(((uint16_t)(x)) << WDOG_PRESC_PRESCVAL_SHIFT)) & WDOG_PRESC_PRESCVAL_MASK)
 

Macro Definition Documentation

◆ WDOG

#define WDOG   ((WDOG_Type *)WDOG_BASE)

Peripheral WDOG base pointer

◆ WDOG_BASE

#define WDOG_BASE   (0x40052000u)

Peripheral WDOG base address

◆ WDOG_BASE_ADDRS

#define WDOG_BASE_ADDRS   { WDOG_BASE }

Array initializer of WDOG peripheral base addresses

◆ WDOG_BASE_PTRS

#define WDOG_BASE_PTRS   { WDOG }

Array initializer of WDOG peripheral base pointers

◆ WDOG_IRQS

#define WDOG_IRQS   { WDOG_EWM_IRQn }

Interrupt vectors for the WDOG peripheral type

◆ WDOG_STCTRLH_ALLOWUPDATE [1/5]

#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.

◆ WDOG_STCTRLH_ALLOWUPDATE [2/5]

#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.

◆ WDOG_STCTRLH_ALLOWUPDATE [3/5]

#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.

◆ WDOG_STCTRLH_ALLOWUPDATE [4/5]

#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.

◆ WDOG_STCTRLH_ALLOWUPDATE [5/5]

#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.

◆ WDOG_STCTRLH_BYTESEL [1/6]

#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

◆ WDOG_STCTRLH_BYTESEL [2/6]

#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

◆ WDOG_STCTRLH_BYTESEL [3/6]

#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

◆ WDOG_STCTRLH_BYTESEL [4/6]

#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

◆ WDOG_STCTRLH_BYTESEL [5/6]

#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

◆ WDOG_STCTRLH_BYTESEL [6/6]

#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

◆ WDOG_STCTRLH_CLKSRC [1/5]

#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.

◆ WDOG_STCTRLH_CLKSRC [2/5]

#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.

◆ WDOG_STCTRLH_CLKSRC [3/5]

#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.

◆ WDOG_STCTRLH_CLKSRC [4/5]

#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.

◆ WDOG_STCTRLH_CLKSRC [5/5]

#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.

◆ WDOG_STCTRLH_DBGEN [1/5]

#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.

◆ WDOG_STCTRLH_DBGEN [2/5]

#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.

◆ WDOG_STCTRLH_DBGEN [3/5]

#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.

◆ WDOG_STCTRLH_DBGEN [4/5]

#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.

◆ WDOG_STCTRLH_DBGEN [5/5]

#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.

◆ WDOG_STCTRLH_DISTESTWDOG [1/5]

#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.

◆ WDOG_STCTRLH_DISTESTWDOG [2/5]

#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.

◆ WDOG_STCTRLH_DISTESTWDOG [3/5]

#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.

◆ WDOG_STCTRLH_DISTESTWDOG [4/5]

#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.

◆ WDOG_STCTRLH_DISTESTWDOG [5/5]

#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.

◆ WDOG_STCTRLH_IRQRSTEN [1/5]

#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.

◆ WDOG_STCTRLH_IRQRSTEN [2/5]

#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.

◆ WDOG_STCTRLH_IRQRSTEN [3/5]

#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.

◆ WDOG_STCTRLH_IRQRSTEN [4/5]

#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.

◆ WDOG_STCTRLH_IRQRSTEN [5/5]

#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.

◆ WDOG_STCTRLH_STOPEN [1/5]

#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.

◆ WDOG_STCTRLH_STOPEN [2/5]

#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.

◆ WDOG_STCTRLH_STOPEN [3/5]

#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.

◆ WDOG_STCTRLH_STOPEN [4/5]

#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.

◆ WDOG_STCTRLH_STOPEN [5/5]

#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.

◆ WDOG_STCTRLH_TESTSEL [1/5]

#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.

◆ WDOG_STCTRLH_TESTSEL [2/5]

#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.

◆ WDOG_STCTRLH_TESTSEL [3/5]

#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.

◆ WDOG_STCTRLH_TESTSEL [4/5]

#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.

◆ WDOG_STCTRLH_TESTSEL [5/5]

#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.

◆ WDOG_STCTRLH_WAITEN [1/5]

#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.

◆ WDOG_STCTRLH_WAITEN [2/5]

#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.

◆ WDOG_STCTRLH_WAITEN [3/5]

#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.

◆ WDOG_STCTRLH_WAITEN [4/5]

#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.

◆ WDOG_STCTRLH_WAITEN [5/5]

#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.

◆ WDOG_STCTRLH_WDOGEN [1/5]

#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.

◆ WDOG_STCTRLH_WDOGEN [2/5]

#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.

◆ WDOG_STCTRLH_WDOGEN [3/5]

#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.

◆ WDOG_STCTRLH_WDOGEN [4/5]

#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.

◆ WDOG_STCTRLH_WDOGEN [5/5]

#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.

◆ WDOG_STCTRLH_WINEN [1/5]

#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.

◆ WDOG_STCTRLH_WINEN [2/5]

#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.

◆ WDOG_STCTRLH_WINEN [3/5]

#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.

◆ WDOG_STCTRLH_WINEN [4/5]

#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.

◆ WDOG_STCTRLH_WINEN [5/5]

#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.