|
S9S08DZ32F1CLH Datasheet, PDF (346/416 Pages) Freescale Semiconductor, Inc – HC08 instruction set with added BGND instruction | |||
|
◁ |
Chapter 16 Timer/PWM Module (S08TPMV3)
...
conï¬gure the channel pin as output port pin and set the output pin;
conï¬gure the channel to generate the EPWM signal but keep ELSnB:ELSnA as 00;
conï¬gure the other registers (TPMxMODH, TPMxMODL, TPMxCnVH, TPMxCnVL, ...);
conï¬gure 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 conï¬guring ELSnB:ELSnA bits (now EPWM signal is available);
...
MC9S08DZ60 Series Data Sheet, Rev. 4
346
Freescale Semiconductor
|
▷ |