The tcDspWatchdog static class is used to manage the MityDSP watchdog timer. This timer may be used to raise an NMI and/or reset the MityDSP if it is allowed to expire. When NMI is enabled, this class installs a handler which calls an optional application-provided callback to perform clean-up, debugging, or other application specific activities.
The application must ensure that the reset() method is always called before the watchdog timer expires to avoid a RST or NMI.
This is a simple example of tcDspWatchdog usage: