CTS-SAT-1-OBC-Firmware
Loading...
Searching...
No Matches
stm32_watchdog.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void STM32_pet_watchdog ()
 Pet the STM32 Independent Watchdog (IWDG).
 

Function Documentation

◆ 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.
Here is the call graph for this function:
Here is the caller graph for this function: