SLAU893B October 2023 – July 2024 MSPM0C1103 , MSPM0C1103-Q1 , MSPM0C1104 , MSPM0C1104-Q1
The output signal generation unit can be used with the counter and capture/compare modules to generate desired pulse-width modulation (PWM) output waveforms, event signals, synchronized capture inputs, or the counter direction. Many output waveforms are generated from counter events (load, zero, counter direction) and the capture/compare block (compare match).
TIMA and TIMG have many common features in the output generation signal unit. Additionally, TIMA has advanced output generation features such as complimentary output signals, deadband insertion, and fault generation.
Figure 15-27 shows the TIMG output block diagram.
Figure 15-27 shows the TIMA output block diagram.
Signal Generator Actions
Table 15-17 shows the types of signal generator actions capable by the output generator. Signal generator actions are configured in the CCACT_xy[0/1] register for zero, load, and compare events. For types of compare events, see Table 15-15.
Value |
Action |
---|---|
0h |
Event is disabled and a lower priority event is selected if asserting |
1h |
CCP output value is set high |
2h |
CCP output value is set low |
3h |
CCP output value is toggled |
The key registers for generation of output signals are:
CCPD: this register configures the direction of the CCP pins as inputs or outputs.