Quick Start Guide for EVENTS - Interrupt Hooks

In this use case, the EVENT module is configured for: In this use case TC is used as event generator, generating events on overflow. One user attached, counting events on the channel. To be able to execute some code when an event is detected, an interrupt hook is used. The interrupt hook will also count the number of events detected and toggle a LED on the board each time an event is detected.
Note: Because this example is showing how to set up an interrupt hook there is no user attached to the user.