LL_WWDG_SetWindow() function
Set the Watchdog Window value to be compared to the downcounter (7-bits W[6:0]).
Arguments
WWDGx
WWDG Instance
Window
0x00..0x7F (7 bit Window value)
Return value
None
Notes
This window value defines when write in the WWDG_CR register to program Watchdog counter is allowed. Watchdog counter value update must occur only when the counter value is lower than the Watchdog window register value. Otherwise, a MCU reset is generated if the 7-bit Watchdog counter value (in the control register) is refreshed before the downcounter has reached the watchdog window register value. Physically is possible to set the Window lower then 0x40 but it is not recommended. To generate an immediate reset, it is possible to set the Counter lower than 0x40.
Examples
LL_WWDG_SetWindow() is referenced by
1 libraries and example projects.
Data read by LL_WWDG_SetWindow()
LL_WWDG_SetWindow()