WDOG_Init_TypeDef Struct Reference

Watchdog initialization structure.

#include <em_wdog.h>

Data Fields

bool enable
 Enable watchdog when initialization completed.
 
bool debugRun
 Counter keeps running during debug halt.
 
bool em2Run
 Counter keeps running when in EM2.
 
bool em3Run
 Counter keeps running when in EM3.
 
bool em4Block
 Block EMU from entering EM4.
 
bool swoscBlock
 Block SW from disabling LFRCO/LFXO oscillators.
 
bool lock
 Block SW from modifying the configuration (a reset is needed to reconfigure).
 
WDOG_ClkSel_TypeDef clkSel
 Clock source to use for watchdog.
 
WDOG_PeriodSel_TypeDef perSel
 Watchdog timeout period.
 
WDOG_WarnSel_TypeDef warnSel
 Select warning time as % of the watchdog timeout.
 
WDOG_WinSel_TypeDef winSel
 Select illegal window time as % of the watchdog timeout.
 
bool resetDisable
 Disable watchdog reset output if true.
 

Watchdog initialization structure.

Field Documentation

◆ enable

bool WDOG_Init_TypeDef::enable

Enable watchdog when initialization completed.

◆ debugRun

bool WDOG_Init_TypeDef::debugRun

Counter keeps running during debug halt.

◆ em2Run

bool WDOG_Init_TypeDef::em2Run

Counter keeps running when in EM2.

◆ em3Run

bool WDOG_Init_TypeDef::em3Run

Counter keeps running when in EM3.

◆ em4Block

bool WDOG_Init_TypeDef::em4Block

Block EMU from entering EM4.

◆ swoscBlock

bool WDOG_Init_TypeDef::swoscBlock

Block SW from disabling LFRCO/LFXO oscillators.

◆ lock

bool WDOG_Init_TypeDef::lock

Block SW from modifying the configuration (a reset is needed to reconfigure).

◆ clkSel

WDOG_ClkSel_TypeDef WDOG_Init_TypeDef::clkSel

Clock source to use for watchdog.

◆ perSel

WDOG_PeriodSel_TypeDef WDOG_Init_TypeDef::perSel

Watchdog timeout period.

◆ warnSel

WDOG_WarnSel_TypeDef WDOG_Init_TypeDef::warnSel

Select warning time as % of the watchdog timeout.

◆ winSel

WDOG_WinSel_TypeDef WDOG_Init_TypeDef::winSel

Select illegal window time as % of the watchdog timeout.

◆ resetDisable

bool WDOG_Init_TypeDef::resetDisable

Disable watchdog reset output if true.