English
Language : 

MC9S12C Datasheet, PDF (447/680 Pages) Motorola, Inc – 16-Bit Microcontroller
Chapter 15 Timer Module (TIM16B8CV1) Block Description
Module Base + 0x0009
7
R
OM3
W
6
OL3
5
OM2
4
OL2
3
OM1
2
OL1
1
OM0
0
OL0
Reset
0
0
0
0
0
0
0
0
Figure 15-15. Timer Control Register 2 (TCTL2)
Read: Anytime
Write: Anytime
Table 15-8. TCTL1/TCTL2 Field Descriptions
Field
7:0
OMx
7:0
OLx
Description
Output Mode — These eight pairs of control bits are encoded to specify the output action to be taken as a result
of a successful OCx compare. When either OMx or OLx is 1, the pin associated with OCx becomes an output
tied to OCx.
Note: To enable output action by OMx bits on timer port, the corresponding bit in OC7M should be cleared.
Output Level — These eight pairs of control bits are encoded to specify the output action to be taken as a result
of a successful OCx compare. When either OMx or OLx is 1, the pin associated with OCx becomes an output
tied to OCx.
Note: To enable output action by OLx bits on timer port, the corresponding bit in OC7M should be cleared.
Table 15-9. Compare Result Output Action
OMx
0
0
1
1
OLx
Action
0
Timer disconnected from output pin logic
1
Toggle OCx output line
0
Clear OCx output line to zero
1
Set OCx output line to one
To operate the 16-bit pulse accumulator independently of input capture or output compare 7 and 0
respectively the user must set the corresponding bits IOSx = 1, OMx = 0 and OLx = 0. OC7M7 in the
OC7M register must also be cleared.
Freescale Semiconductor
MC9S12C-Family / MC9S12GC-Family
447
Rev 01.23