SWCU194 March 2023 CC1314R10 , CC1354P10 , CC1354R10 , CC2674P10 , CC2674R10
This channel action continuously:
The channel generates center-aligned PWM waveform when AUX_TIMER2:CTL.MODE = UPDWN_PER.
The channel copies a new value written in AUX_TIMER2:CHnPCC to AUX_TIMER2:CHnCC when AUX_TIMER2:CNTR becomes 0. This action prevents jitter on the edges of the generated PWM signal. Similarly, the timer copies a new value written in AUX_TIMER2:SHDWTARGET to AUX_TIMER2:TARGET when AUX_TIMER2:CNTR becomes 0. This action avoids period-jitter in PWM applications with time-varying periods.
For further description, see the description of the AUX_TIMER2:CHnEVCFG.CCACT register, Section 20.8.7.
The following example illustrates center-aligned PWM generation by channel 0 (see Figure 20-26). The waveform is synthesized on event output 0. The timer period is kept static, and the target value is set to half the period. Configure as follows:
The duty-cycle of the generated PWM waveform is controlled by AUX_TIMER2:CH0PCC updates. Waveform generation on event output 0 continues until stopped by the user.