English
Language : 

MC9S08JM60 Datasheet, PDF (283/386 Pages) Freescale Semiconductor, Inc – Microcontrollers
Timer/PWM Module (S08TPMV3)
CPWMS
X
0
1
Table 16-6. Mode, Edge, and Level Selection
MSnB:MSnA
XX
00
01
1X
XX
ELSnB:ELSnA
00
01
10
11
01
10
11
10
X1
10
X1
Mode
Configuration
Pin not used for TPM - revert to general
purpose I/O or other peripheral control
Input capture
Capture on rising edge
only
Capture on falling edge
only
Capture on rising or
falling edge
Output compare
Toggle output on
compare
Clear output on
compare
Set output on compare
Edge-aligned
PWM
High-true pulses (clear
output on compare)
Low-true pulses (set
output on compare)
Center-aligned
PWM
High-true pulses (clear
output on compare-up)
Low-true pulses (set
output on compare-up)
16.3.5 TPM Channel Value Registers (TPMxCnVH:TPMxCnVL)
These read/write registers contain the captured TPM counter value of the input capture function or the
output compare value for the output compare or PWM functions. The channel registers are cleared by
reset.
7
6
5
4
3
2
R
Bit 15
14
13
12
11
10
W
1
0
9
Bit 8
Reset
0
0
0
0
0
0
0
0
Figure 16-13. TPM Channel Value Register High (TPMxCnVH)
7
6
5
4
3
2
1
0
R
Bit 7
6
5
4
3
2
1
Bit 0
W
Reset
0
0
0
0
0
0
0
0
Figure 16-14. TPM Channel Value Register Low (TPMxCnVL)
MC9S08JM60 Series Data Sheet, Rev. 2
Freescale Semiconductor
283