38 #if defined(WDOG_COUNT) && (WDOG_COUNT > 0)
90 #if defined( _WDOG_CTRL_WARNSEL_MASK )
95 wdogWarnTime25pct = 1,
96 wdogWarnTime50pct = 2,
97 wdogWarnTime75pct = 3,
101 #if defined( _WDOG_CTRL_WINSEL_MASK )
105 wdogIllegalWindowDisable = 0,
106 wdogIllegalWindowTime12_5pct = 1,
107 wdogIllegalWindowTime25_0pct = 2,
108 wdogIllegalWindowTime37_5pct = 3,
109 wdogIllegalWindowTime50_0pct = 4,
110 wdogIllegalWindowTime62_5pct = 5,
111 wdogIllegalWindowTime75_0pct = 6,
112 wdogIllegalWindowTime87_5pct = 7,
150 #if defined( _WDOG_CTRL_WARNSEL_MASK )
155 #if defined( _WDOG_CTRL_WINSEL_MASK )
160 #if defined( _WDOG_CTRL_WDOGRSTDIS_MASK )
168 #if defined( _WDOG_CTRL_WARNSEL_MASK ) \
169 && defined( _WDOG_CTRL_WDOGRSTDIS_MASK ) \
170 && defined( _WDOG_CTRL_WINSEL_MASK )
171 #define WDOG_INIT_DEFAULT \
184 wdogIllegalWindowDisable, \
188 #define WDOG_INIT_DEFAULT \
214 #if defined( _WDOG_IF_MASK )
308 return wdog->
IF & tmp;
330 #if !defined(DEFAULT_WDOG)
332 #define DEFAULT_WDOG WDOG
334 #define DEFAULT_WDOG WDOG0
WDOG_ClkSel_TypeDef clkSel
__STATIC_INLINE void WDOG_Init(const WDOG_Init_TypeDef *init)
Initialize watchdog (assuming the watchdog configuration has not been locked).
__STATIC_INLINE void WDOGn_IntDisable(WDOG_TypeDef *wdog, uint32_t flags)
Disable one or more WDOG interrupts.
void WDOGn_Lock(WDOG_TypeDef *wdog)
Lock the watchdog configuration.
__STATIC_INLINE void WDOG_Enable(bool enable)
Enable/disable the watchdog timer.
__STATIC_INLINE void WDOG_Lock(void)
Lock the watchdog configuration.
#define _WDOG_CTRL_CLKSEL_LFXO
__STATIC_INLINE void WDOGn_IntEnable(WDOG_TypeDef *wdog, uint32_t flags)
Enable one or more WDOG interrupts.
WDOG_PeriodSel_TypeDef perSel
#define _WDOG_CTRL_CLKSEL_ULFRCO
CMSIS Cortex-M Peripheral Access Layer for Silicon Laboratories microcontroller devices.
void WDOGn_Init(WDOG_TypeDef *wdog, const WDOG_Init_TypeDef *init)
Initialize watchdog (assuming the watchdog configuration has not been locked).
__STATIC_INLINE void WDOG_Feed(void)
Feed the watchdog.
__STATIC_INLINE uint32_t WDOGn_IntGet(WDOG_TypeDef *wdog)
Get pending WDOG interrupt flags.
WDOG_WinSel_TypeDef winSel
#define _WDOG_CTRL_CLKSEL_LFRCO
void WDOGn_Enable(WDOG_TypeDef *wdog, bool enable)
Enable/disable the watchdog timer.
WDOG_WarnSel_TypeDef warnSel
__STATIC_INLINE void WDOGn_IntClear(WDOG_TypeDef *wdog, uint32_t flags)
Clear one or more pending WDOG interrupts.
__STATIC_INLINE void WDOGn_IntSet(WDOG_TypeDef *wdog, uint32_t flags)
Set one or more pending WDOG interrupts from SW.
void WDOGn_Feed(WDOG_TypeDef *wdog)
Feed the watchdog.
__STATIC_INLINE uint32_t WDOGn_IntGetEnabled(WDOG_TypeDef *wdog)
Get enabled and pending WDOG interrupt flags.