Reference Manual to
LL API cross
reference:
CFR WDGTB LL_WWDG_GetPrescaler
LL_WWDG_SetWindow
__STATIC_INLINE void LL_WWDG_SetWindow
(WWDG_TypeDef * WWDGx, uint32_t Window)
Set the Watchdog Window value to be compared to the
downcounter (7-bits W[6:0]).
WWDGx: WWDG Instance
Window: 0x00..0x7F (7 bit Window value)
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.
Reference Manual to
LL API cross
reference:
LL_WWDG_GetWindow
__STATIC_INLINE uint32_t LL_WWDG_GetWindow
(WWDG_TypeDef * WWDGx)
Return current Watchdog Window Value (7 bits value)
7: bit Watchdog Window value
Reference Manual to
LL API cross
reference:
LL_WWDG_IsActiveFlag_EWKUP
__STATIC_INLINE uint32_t LL_WWDG_IsActiveFlag_EWKUP
(WWDG_TypeDef * WWDGx)
Indicates if the WWDG Early Wakeup Interrupt Flag is set or not.
This bit is set by hardware when the counter has reached the