Ll_Wwdg_Setwindow; Ll_Wwdg_Getwindow; Ll_Wwdg_Isactiveflag_Ewkup - ST STM32F2 User Manual

Description of stm32f2 hal and low layer drivers
Hide thumbs Also See for STM32F2:
Table of Contents

Advertisement

UM1940
Reference Manual to
LL API cross
reference:

LL_WWDG_SetWindow

Function name
Function description
Parameters
Return values
Notes
Reference Manual to
LL API cross
reference:

LL_WWDG_GetWindow

Function name
Function description
Parameters
Return values
Reference Manual to
LL API cross
reference:

LL_WWDG_IsActiveFlag_EWKUP

Function name
Function description
Parameters
Return values
Notes
LL_WWDG_PRESCALER_8
CFR WDGTB LL_WWDG_GetPrescaler
__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)
None:
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.
CFR W LL_WWDG_SetWindow
__STATIC_INLINE uint32_t LL_WWDG_GetWindow
(WWDG_TypeDef * WWDGx)
Return current Watchdog Window Value (7 bits value)
WWDGx: WWDG Instance
7: bit Watchdog Window value
CFR W LL_WWDG_GetWindow
__STATIC_INLINE uint32_t LL_WWDG_IsActiveFlag_EWKUP
(WWDG_TypeDef * WWDGx)
Indicates if the WWDG Early Wakeup Interrupt Flag is set or not.
WWDGx: WWDG Instance
State: of bit (1 or 0).
This bit is set by hardware when the counter has reached the
DocID028236 Rev 2
LL WWDG Generic Driver
1299/1371

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the STM32F2 and is the answer not in the manual?

Table of Contents

Save PDF