Watchdog initialization structure.
Public Attributes#
Counter keeps running during debug halt.
Select WDOG clear source: False: Write to the clear bit will clear the WDOG counter.
Counter keeps running when in EM2.
Counter keeps running when in EM3.
Block EMU from entering EM4.
When set, a PRS Source 0 missing event will trigger a WDOG reset.
When set, a PRS Source 1 missing event will trigger a WDOG reset.
Block SW from modifying the configuration (a reset is needed to reconfigure).
Watchdog timeout period.
Select warning time as % of the Watchdog timeout.
Select illegal window time as % of the Watchdog timeout.
Disable Watchdog reset output if true.
Public Attribute Documentation#
clear_source#
bool sl_hal_wdog_init_t::clear_source
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.
prs0_missing_reset_enable#
bool sl_hal_wdog_init_t::prs0_missing_reset_enable
When set, a PRS Source 0 missing event will trigger a WDOG reset.
prs1_missing_reset_enable#
bool sl_hal_wdog_init_t::prs1_missing_reset_enable
When set, a PRS Source 1 missing event will trigger a WDOG reset.
lock#
bool sl_hal_wdog_init_t::lock
Block SW from modifying the configuration (a reset is needed to reconfigure).
warning_time_select#
sl_hal_wdog_warning_timeout_select_t sl_hal_wdog_init_t::warning_time_select
Select warning time as % of the Watchdog timeout.
window_time_select#
sl_hal_wdog_illegal_window_select_t sl_hal_wdog_init_t::window_time_select
Select illegal window time as % of the Watchdog timeout.