sc9s08mz16 Freescale Semiconductor, Inc, sc9s08mz16 Datasheet - Page 159

no-image

sc9s08mz16

Manufacturer Part Number
sc9s08mz16
Description
Hcs08 Microcontrollers
Manufacturer
Freescale Semiconductor, Inc
Datasheet
When the TPM is configured for center-aligned PWM (and ELSnB:ELSnA not = 0:0), the data direction
for all channels in this TPM are overridden, the TPMxCHn pins are forced to be outputs controlled by the
TPM, and the ELSnA bits control the polarity of each TPMxCHn output. If ELSnB:ELSnA=1:0, the
corresponding TPMxCHn pin is cleared when the timer counter is counting up, and the channel value
register matches the timer counter; the TPMxCHn pin is set when the timer counter is counting down, and
the channel value register matches the timer counter. If ELSnA=1, the corresponding TPMxCHn pin is set
when the timer counter is counting up and the channel value register matches the timer counter; the
TPMxCHn pin is cleared when the timer counter is counting down and the channel value register matches
the timer counter.
Freescale Semiconductor
TPMxCNTH:TPMxCNTL
TPMxCNTH:TPMxCNTL
TPMxMODH:TPMxMODL = 0x0008
TPMxCnVH:TPMxCnVL = 0x0005
TPMxMODH:TPMxMODL = 0x0008
TPMxCnVH:TPMxCnVL = 0x0005
TPMxCHn
TPMxCHn
CHnF BIT
CHnF BIT
TOF BIT
TOF BIT
...
...
7
7
Figure 9-5. High-True Pulse of a Center-Aligned PWM
Figure 9-6. Low-True Pulse of a Center-Aligned PWM
8
8
7
7
6
6
SC9S08MZ16 MCU Data Sheet, Rev. 1
5
5
4
4
3
3
2
2
1
1
0
0
1
1
2
2
3
3
4
4
5
5
6
6
7
7
Timer/PWM (S08TPMV3)
8
8
7
7
6
6
5
5
...
...
159

Related parts for sc9s08mz16