LL_WWDG_SetCounter() function
Set the Watchdog counter value to provided value (7-bits T[6:0])
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.
Data read by LL_WWDG_SetCounter()
LL_WWDG_SetCounter()