47.6.4 DMA, Interrupts, and Events
The following table shows the DMA request for the TCC module.
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 CCy 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) |
Notes:
- 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