SWCU192 November 2021 CC1312R7 , CC1352P7 , CC2652P7 , CC2652R7
This example illustrates edge-aligned PWM generation by channel 0 (see Figure 20-27). 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.