Timer/PWM Module (TPM)
MCF51CN128 Reference Manual, Rev. 6
19-7
Freescale Semiconductor
set when the TPM counter is counting down, and the channel value register matches the TPM counter. If
ELSnA is set, the corresponding TPMxCHn pin is set when the TPM counter is counting up and the
channel value register matches the TPM counter; and it is cleared when the TPM counter is counting down
and the channel value register matches the TPM counter.
Figure 19-4. High-True Pulse of a Center-Aligned PWM
Figure 19-5. Low-True Pulse of a Center-Aligned PWM
CHnF bit
TOF bit
...
7
8
7
6
5
4
3
2
1
0
1
2
3
4
5
6
7
8
7
6
5
...
TPMxMODH:TPMxMODL = 0x0008
TPMxCnVH:TPMxCnVL = 0x0005
TPMxCNTH:TPMxCNTL
TPMxCHn
CHnF bit
TOF bit
...
7
8
7
6
5
4
3
2
1
0
1
2
3
4
5
6
7
8
7
6
5
...
TPMxMODH:TPMxMODL = 0x0008
TPMxCnVH:TPMxCnVL = 0x0005
TPMxCNTH:TPMxCNTL
TPMxCHn