Software test of watchdog operationΒΆ

group sdl_ex_watchdog

sdl_ex_watchdog

This example shows how to use the wakeup interrupt to test the operation of the watchdog. The example generates two watchdog interrupts. The first is caused by delaying the reset of the watchdog too long, causing it to overflow. The second uses the windowing functionality to reset the counter before the minimum threshold can be reached.

External Connections

  • None.

Watch Variables

  • wakeISRFlag - Indicates the watchdog ISR was executed.

  • result - Status of successful generation of expected watchdog pulse.