SPRUJF2A March 2026 – March 2026 AM13E23019
The TIMx.CCCTL_xy[0/1] register can control whether each timer instance generates a condition pulse based on the edge or polarity of the CCP input signal or trigger edge. The conditions that can be generated are:
Advance conditions
By default, the timer advances based on each rising edge of TIMCLK (TIMx.CCCTL_xy[0/1]ACOND = 0h). However, the timer can also advance based off the specified TIMx.CCCTL_xy[0/1].ACOND settings below.
| ACOND | Condition |
|---|---|
| 0h | Each rising edge of TIMCLK |
| 1h | Rising edge of CCP or trigger assertion edge |
| 2h | Falling edge of CCP or trigger de-assertion edge |
| 3h | Either edge of CCP or trigger |
| 5h | CCP high or trigger assertion |
Load, zero, and capture conditions
Load, zero, and capture condition pulses can be generated based on the LCOND, ZCOND, and CCOND bitfield settings below within the TIMx.CCCTL_xy[0/1] register.
| LCOND | ZCOND | CCOND | Condition |
|---|---|---|---|
| N/A | N/A | 0h | None |
| 1h | 1h | 1h | Rising edge of CCP or trigger assertion edge |
| 2h | 2h | 2h | Falling edge of CCP or trigger de-assertion edge |
| 3h | 3h | 3h | Either edge of CCP or trigger |