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 clrSrc
Select WDOG clear source: False: Write to the clear bit will clear the WDOG counter True: Rising edge on the PRS Source 0 will clear the WDOG counter.
bool em2Run
Counter keeps running when in EM2.
bool em3Run
Counter keeps running when in EM3.
bool em4Block
Block EMU from entering EM4.
bool prs0MissRstEn
When set, a PRS Source 0 missing event will trigger a WDOG reset.
bool prs1MissRstEn
When set, a PRS Source 1 missing event will trigger a WDOG reset.
bool lock
Block SW from disabling LFRCO/LFXO oscillators.
WDOG_PeriodSel_TypeDef perSel
Clock source to use for Watchdog.
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.

clrSrc

bool WDOG_Init_TypeDef::clrSrc

Select WDOG clear source: False: Write to the clear bit will clear the WDOG counter True: Rising edge on the PRS Source 0 will clear the WDOG counter.

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.

prs0MissRstEn

bool WDOG_Init_TypeDef::prs0MissRstEn

When set, a PRS Source 0 missing event will trigger a WDOG reset.

prs1MissRstEn

bool WDOG_Init_TypeDef::prs1MissRstEn

When set, a PRS Source 1 missing event will trigger a WDOG reset.

lock

bool WDOG_Init_TypeDef::lock

Block SW from disabling LFRCO/LFXO oscillators.

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

perSel

WDOG_PeriodSel_TypeDef WDOG_Init_TypeDef::perSel

Clock source to use for Watchdog.

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.