CMS32L051 User Manual |Chapter 6 Function of EPWM Output Control Circuit
www.mcu.com.cn 211 / 703
6.3 Operation of EPWM output control circuit
6.3.1 Initial setup
The timer waveform selects the TAU output (TO01, TO03) as the source clock through the EPWSRC
register. The positive or inverting phase of the timer waveform can be fixed by setting the EPWMCTL
register.
In the event of forced truncation, the Hi-Z output, low output, high output, or disable cut-off output can
be selected through the setting of the EPWMSTL register.
Figure 6-7 Initial configuration flow of registers
Start
Setting of Timer Start
Setting of EPWMSRC register
Setting of EPWMCTL register
Setting of EPWMSTL register
Setting of EPWMSTR register
Setting of PORT control
End
Setting of EPWMSTC register