Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
%DASHBOARD{ section="banner" | ||||||||
Line: 16 to 16 | ||||||||
Contents
| ||||||||
Changed: | ||||||||
< < | ||||||||
> > | ||||||||
How to usewatchdog ( -- ) Activate watchdog watchdog? ( -- flag ) Has the WATCHDOG bitten? watchdog# ( -- u ) How many times has the watchdog bitten since cold startup? | ||||||||
Added: | ||||||||
> > | watchdog@ ( -- addr ) Address where the atchdog bit | |||||||
Changed: | ||||||||
< < | If thread takes longer than about 500 ms the watchdog will bite and a reset occurs. As long the thread waits for an event e.g. file operation, keyboard (the thread is blocked), nothing happens. | |||||||
> > | If a thread takes longer than about 500 ms the watchdog will bite and a reset occurs. As long the thread waits for an event e.g. file operation, keyboard (the thread is blocked), nothing happens. | |||||||
: forever begin again ; [RET] ok. watchdog? .[RET] 0 ok. | ||||||||
Line: 47 to 48 | ||||||||
Do not activate the watchdog in debugging mode. | ||||||||
Changed: | ||||||||
< < | watchdog? [IF] .( Watchdog has bitten, # bites: ) watchdog# . cr [THEN] | |||||||
> > | watchdog? [IF] .( Watchdog has bitten at ) watchdog@ hex. .( , # bites: ) watchdog# . cr [THEN] | |||||||
Changed: | ||||||||
< < | ||||||||
> > | ||||||||
Implementation | ||||||||
Changed: | ||||||||
< < | For STM32WB55: | |||||||
> > | For STM32WB55: | |||||||
WWDG clock (Hz) = PCLK1 / (4096 * Prescaler) |