sc9s08mz16 Freescale Semiconductor, Inc, sc9s08mz16 Datasheet - Page 158

no-image

sc9s08mz16

Manufacturer Part Number
sc9s08mz16
Description
Hcs08 Microcontrollers
Manufacturer
Freescale Semiconductor, Inc
Datasheet
Timer/PWM (S08TPMV3)
When a channel is configured for edge-aligned PWM (CPWMS=0, MSnB=1 and ELSnB:ELSnA not =
0:0), the data direction is overridden, the TPMxCHn pin is forced to be an output controlled by the TPM,
and ELSnA controls the polarity of the PWM output signal on the pin. When ELSnB:ELSnA=1:0, the
TPMxCHn pin is forced high at the start of each new period (TPMxCNT=0x0000), and the pin is forced
low when the channel value register matches the timer counter. When ELSnA=1, the TPMxCHn pin is
forced low at the start of each new period (TPMxCNT=0x0000), and the pin is forced high when the
channel value register matches the timer counter.
158
TPMxCNTH:TPMxCNTL
TPMxCNTH:TPMxCNTL
TPMxMODH:TPMxMODL = 0x0008
TPMxCnVH:TPMxCnVL = 0x0005
TPMxMODH:TPMxMODL = 0x0008
TPMxCnVH:TPMxCnVL = 0x0005
Figure 9-3. High-True Pulse of an Edge-Aligned PWM
Figure 9-4. Low-True Pulse of an Edge-Aligned PWM
CHnF BIT
TPMxCHn
CHnF BIT
TPMxCHn
TOF BIT
TOF BIT
SC9S08MZ16 MCU Data Sheet, Rev. 1
...
...
0
0
1
1
2
2
3
3
4
4
5
5
6
6
7
7
8
8
0
0
1
1
2
2
Freescale Semiconductor
...
...

Related parts for sc9s08mz16