12.3.6 Window Interrupt
This interrupt occurs when the watchdog is cleared below a certain threshold. This threshold is given by the formula:
T
WARNING
= (2
3+PERSEL
) * (WINSEL/8) + 1)/f,
where f is the frequency of the selected clock.
This value will be approximately 12.5%, 25%, 37.5%, 50%, 62.5%, 75%, or 87.5% of the timeout value based on the WINSEL field of
the WDOGn_CTRL.
Figure 12.2 WDOG Warning, Window, and Timeout on page 321
illustrates the warning, the window, and the time-
out interrupts. Also, it shows where the prs rising edge needs to happen. The prs edge detection feature is discussed later.
Timeout period
Counter value
Time
Watchdog clear
System reset
Warning Irq
Legal Window
PRS Event
Figure 12.2. WDOG Warning, Window, and Timeout
When the watchdog is enabled, it is recommended to clear the watchdog before changing WINSEL.
EFM32JG1 Reference Manual
WDOG - Watchdog Timer
silabs.com
| Smart. Connected. Energy-friendly.
Preliminary Rev. 0.6 | 321