English
Language : 

MC9S08DZ60CLH Datasheet, PDF (346/416 Pages) Freescale Semiconductor, Inc – MC9S08DZ60 Series Features
Chapter 16 Timer/PWM Module (S08TPMV3)
...
configure the channel pin as output port pin and set the output pin;
configure the channel to generate the EPWM signal but keep ELSnB:ELSnA as 00;
configure the other registers (TPMxMODH, TPMxMODL, TPMxCnVH, TPMxCnVL, ...);
configure CLKSB:CLKSA bits (TPM v3 starts to generate the high-true EPWM signal, however
TPM does not control the channel pin, so the EPWM signal is not available);
wait until the TOF is set (or use the TOF interrupt);
enable the channel output by configuring ELSnB:ELSnA bits (now EPWM signal is available);
...
MC9S08DZ60 Series Data Sheet, Rev. 4
346
Freescale Semiconductor