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 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 27-27 shows the TIMG output block diagram.
Figure 27-27 shows the TIMA output block diagram.
Signal Generator Actions
Table 27-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 27-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.