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

LL_WWDG_SetCounter() function

Set the Watchdog counter value to provided value (7-bits T[6:0])

Syntax

__STATIC_INLINE void LL_WWDG_SetCounter(WWDG_TypeDef *WWDGx,     uint32_t Counter);

Arguments

WWDGx

WWDG Instance

Counter

0..0x7F (7 bit counter value)

Return value

None

Notes

When writing to the WWDG_CR register, always write 1 in the MSB b6 to avoid generating an immediate reset This counter is decremented every (4096 x 2expWDGTB) PCLK cycles A reset is produced when it rolls over from 0x40 to 0x3F (bit T6 becomes cleared) Setting the counter lower then 0x40 causes an immediate reset (if WWDG enabled)

Examples

LL_WWDG_SetCounter() is referenced by 1 libraries and example projects.

References

LocationText
stm32f4xx_ll_wwdg.h:150
__STATIC_INLINE void LL_WWDG_SetCounter(WWDG_TypeDef *WWDGx, uint32_t Counter)

Data Use

Data read by LL_WWDG_SetCounter()
LL_WWDG_SetCounter()