SLAU846B June 2023 – November 2024 MSPM0G1105 , MSPM0G1106 , MSPM0G1107 , MSPM0G1505 , MSPM0G1506 , MSPM0G1507 , MSPM0G1519 , MSPM0G3105 , MSPM0G3105-Q1 , MSPM0G3106 , MSPM0G3106-Q1 , MSPM0G3107 , MSPM0G3107-Q1 , MSPM0G3505 , MSPM0G3505-Q1 , MSPM0G3506 , MSPM0G3506-Q1 , MSPM0G3507 , MSPM0G3507-Q1 , MSPM0G3519
The TIMx.CCCTL_xy[0/1] register can control whether each timer instance generates a zero, load, capture, or advance 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 TIMCLK. (ACOND = 0h). However, the timer can also advance based off the specified TIMx.CCCTL_xy[0/1].ACOND settings below.
ACOND | Condition |
---|---|
0h | Each 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 pulses can be generated the LCOND, ZCOND, and CCOND condition settings below in 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 |