8.8.2 Quick Start Guide for EVENTS - Interrupt Hooks
In this use case, the EVENT module is configured for:
Synchronous event path with rising edge detection
TC4 as event generator on the allocated event channel(TC0 is used for SAM L22)
One event channel user attached
An event interrupt hook is used to execute some code when 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.