mc9s08en32 Freescale Semiconductor, Inc, mc9s08en32 Datasheet - Page 259

no-image

mc9s08en32

Manufacturer Part Number
mc9s08en32
Description
Hcs08 Microcontrollers
Manufacturer
Freescale Semiconductor, Inc
Datasheet
Chapter 14 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 (TPM1MODH, TPM1MODL, TPM1CnVH, TPM1CnVL, ...);
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);
...
MC9S08EN32 Series Data Sheet, Rev. 3
Freescale Semiconductor
259

Related parts for mc9s08en32