37.5.3 Interrupt Sources

Each TC channel interface has one interrupt line used for standard functions and one interrupt line used to trigger any safety or security events that may occur. Both lines are connected to the Interrupt Controller.

Separate lines ease management of interrupt priorities related to safety/security checks.

The interrupt line for standard functions is driven by TC_IMR and TC_SR, whereas the interrupt line for safety/security functions is driven by TC_SSR flags. If one of the flags in TC_SSR is set, the interrupt line is asserted. In order to handle interrupts, the interrupt controller must be programmed before configuring the TC.