13.24.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) |
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