Introduction
The watchdog timer is a safety feature used to monitor a system's proper functioning. Its main purpose is to automatically recover or reset the system in case of software malfunctions or unexpected behavior. This helps to prevent the system from getting hung or entering an unsafe state. The watchdog timer continuously counts towards a preset limit. The software should periodically reset the watchdog timer before reaching the preset limit. If the software fails to reset the watchdog timer because of unexpected issues, the watchdog timer triggers interrupt and a panic signal when it reaches the preset limit.