Datasheet

Chapter 13 Timer (S12TIM16B4CV1) Block Description
MC9S12E256 Data Sheet, Rev. 1.10
426 Freescale Semiconductor
13.3.3.1 Timer Input Capture/Output Compare Select (TIOS)
Read or write anytime.
13.3.3.2 Timer Compare Force Register (CFORC)
Read anytime but will always return $00. Write anytime.
Module Base + 0x0000
76543210
R
IOS7 IOS6 IOS5 IOS4
0000
W
Reset 0 0 0 00000
= Unimplemented or Reserved
Figure 13-3. Timer Input Capture/Output Compare Select (TIOS)
Table 13-1. TIOS Field Descriptions
Field Description
7–4
IOS[7:4]
Input Capture or Output Compare Channel Configuration
0 The corresponding channel acts as an input capture.
1 The corresponding channel acts as an output compare.
Module Base + 0x0001
76543210
R00000000
W FOC7 FOC6 FOC5 FOC4
Reset 0 0 0 00000
= Unimplemented or Reserved
Figure 13-4. Timer Compare Force Register (CFORC)
Table 13-2. CFORC Field Descriptions
Field Description
7–4
FOC[7:4]
Force Output Compare Action for Channel 7-4 — A write to this register with the corresponding (FOC 7:4)
data bit(s) set causes the action programmed for output compare on channel “n” to occur immediately.The action
taken is the same as if a successful comparison had just taken place with the TCn register except the interrupt
flag does not get set.
0 Force Output Compare Action disabled
1 Force Output Compare Action enabled
Note: A successful channel 7 output compare overrides any channel 6:4 compares. If forced output compare on
any channel occurs at the same time as the successful output compare then forced output compare action
will take precedence and interrupt flag will not get set.