Introduction
This example demonstrates the usage of the TOG module. The example shows how to listen for TOG error events using the interrupt, and also forcing an error in order to demonstrate application notification of a timeout event.
The example demonstrates:
- Setting a timeout for TOG instance
- Error injection for an TOG instance
- Error event detection for a timeout event
Use Cases
- The TOG is programmed with a timeout that is small enough to trigger a timeout event on any access. Error event is triggered and application is notified of the event.
Supported Combinations
Parameter | Value |
CPU + OS | r5fss0-0 nortos |
r5fss1-0 nortos |
Toolchain | ti-arm-clang |
Board | am263px-cc |
Example folder | examples/sdl/stog/ |
Steps to Run the Example
See Also
STOG
Sample Output
TOG Sample Example
Data Abort exception
TOG Interrupt received
All tests have passed.