HAL + 0/1 examples
CodeScope will show references to LL_WWDG_SetWindow() from the following samples and libraries:
Examples
STM32F411RE-Nucleo
Examples_LL
WWDG
 
Symbols
loading...
Files
loading...

LL_WWDG_SetWindow() function

Set the Watchdog Window value to be compared to the downcounter (7-bits W[6:0]).

Syntax

__STATIC_INLINE void LL_WWDG_SetWindow(WWDG_TypeDef *WWDGx,     uint32_t Window);

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.

References

LocationText
stm32f4xx_ll_wwdg.h:215
__STATIC_INLINE void LL_WWDG_SetWindow(WWDG_TypeDef *WWDGx, uint32_t Window)

Data Use

Data read by LL_WWDG_SetWindow()
LL_WWDG_SetWindow()