41.6.5 DMA, Interrupts and Events
Condition | Interrupt request | Event output | Event input | DMA request | DMA request is cleared |
---|---|---|---|---|---|
Overflow/Underflow | Yes | Yes | — | Yes(1) | On DMA acknowledge |
Channel Compare Match or Capture | Yes | Yes | Yes(2) | Yes(3) | For circular buffering: on DMA acknowledge For capture channel: when CCx register is read |
Retrigger | Yes | Yes | — | — | — |
Count | Yes | Yes | — | — | — |
Capture Overflow Error | Yes | — | — | — | — |
Debug Fault State | Yes | — | — | — | — |
Recoverable Faults | Yes | — | — | — | — |
Non-Recoverable Faults | Yes | — | — | — | — |
TCCx Event 0 input | — | — | Yes(4) | — | — |
TCCx Event 1 input | — | — | Yes(5) | — | — |
Note:
- DMA request set on Overflow, Underflow or Re-trigger conditions.
- Can perform capture or generate recoverable fault on an event input.
- In Capture or Circular modes.
- On event input, either action can be executed:
- Re-trigger counter
- Control counter direction
- Stop the counter
- Decrement the counter
- Perform period and pulse width capture
- Generate non-recoverable fault
- On event input, either action can be executed:
- Re-trigger counter
- Increment or decrement counter depending on direction
- Start the counter
- Increment or decrement counter based on direction
- Increment counter regardless of direction
- Generate non-recoverable fault