Introduction
This example uses the WDT module in non reset mode to generate NMI Interrupt.
- The Watchdog interrupt is configured as a non-maskable interrupt and the user-defined callback function is registered.
- The callback function in the application handles the watchdog interrupt.
Supported Combinations
Parameter | Value |
CPU + OS | r5fss0-0 nortos |
Toolchain | ti-arm-clang |
Board | am243x-evm |
Example folder | examples/drivers/watchdog/watchdog_interrupt/ |
Steps to Run the Example
See Also
WATCHDOG
Sample Output
Shown below is a sample output when the application is run, Please note that application prints in both CCS and UART console.
CCS Console:
[Cortex_R5_0] Watchdog interrupt Mode Test Started ...
Watchdog Driver NMI received
All tests have passed!!
UART Console:
Watchdog interrupt Mode Test Started ...
Watchdog Driver NMI received
All tests have passed!!