MC9S12Q32VFA16 FREESCALE [Freescale Semiconductor, Inc], MC9S12Q32VFA16 Datasheet - Page 441

no-image

MC9S12Q32VFA16

Manufacturer Part Number
MC9S12Q32VFA16
Description
HCS12 Microcontrollers
Manufacturer
FREESCALE [Freescale Semiconductor, Inc]
Datasheet
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. To enable output action using the OM7 and OL7 bits on the timer
port,the corresponding bit OC7M7 in the OC7M register must also be cleared. The settings for these bits
can be seen in
Note: in
IOSx is the register TIOS bit x,
OC7Mx is the register OC7M bit x,
TCx is timer Input Capture/Output Compare register,
IOCx is channel x,
OMx/OLx is the register TCTL1/TCTL2,
OC7Dx is the register OC7D bit x.
Freescale Semiconductor
IOCx=OC7Dx
IOC7=OM7/O
TC7=TCx
Field
OMx
OLx
7:2
7:2
L7
Table
OC7Mx=1
Output Mode — These 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 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.
IOCx=OC7Dx
IOC7=OM7/O
Table 15-10
15-10, the IOS7 and IOSx should be set to 1
+OMx/OLx
TC7>TCx
L7
OC7M7=0
OMx
0
0
1
1
TC7=TCx
Table 15-10. The OC7 and OCx event priority
Table 15-8. TCTL1/TCTL2 Field Descriptions
Table 15-9. Compare Result Output Action
IOC7=OM7/OL7
IOCx=OMx/OLx
OC7Mx=0
OLx
0
1
0
1
TC7>TCx
MC9S12Q128
Timer disconnected from output pin logic
Rev 1.10
Clear OCx output line to zero
IOC7=OC7D7
IOCx=OC7Dx
Description
Set OCx output line to one
Toggle OCx output line
TC7=TCx
OC7Mx=1
Action
IOC7=OC7D7
IOCx=OC7Dx
+OMx/OLx
TC7>TCx
OC7M7=1
Chapter 15 Timer Module (TIM16B6C)
TC7=TCx
IOCx=OMx/OLx
IOC7=OC7D7
OC7Mx=0
TC7>TCx
441

Related parts for MC9S12Q32VFA16