English
Language : 

MC9S08DV60 Datasheet, PDF (343/414 Pages) Freescale Semiconductor, Inc – HCS08 Microcontrollers
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);
...
MC9S08DV60 Series Data Sheet, Rev 3
Freescale Semiconductor
343