SWCU185G January 2018 – June 2024 CC1312PSIP , CC1312R , CC1352P , CC1352R , CC2642R , CC2642R-Q1 , CC2652P , CC2652PSIP , CC2652R , CC2652RB , CC2652RSIP , CC2662R-Q1
This example illustrates edge-aligned PWM generation by channel 0 (see Figure 19-3). The waveform is synthesized on event output 0. The timer period is kept static, and the target value is set to period minus 1. 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 aborted by the user.