Go to the source code of this file.
◆ STM32_pet_watchdog()
| void STM32_pet_watchdog |
( |
| ) |
|
Pet the STM32 Independent Watchdog (IWDG).
- Note
- Also, updates tracking variables and logs warnings if the petting took too long or too short.
-
The watchdog must be petted at least once every 16 seconds, and no more than once every 200ms.
-
A warning is issued if the time since the last pet is more than 15 seconds or less than 240ms.
-
Recall that the EPS has a ~5 minute watchdog as well (nothing to do with this one).