Datasheet

Chapter 13 Timer Module (TIM16B4CV1)
MC9S12E128 Data Sheet, Rev. 1.07
422 Freescale Semiconductor
13.3.2.1 Timer Input Capture/Output Compare Select (TIOS)
Read: Anytime
Write: Anytime
13.3.2.2 Timer Compare Force Register (CFORC)
Read: Anytime but will always return 0x0000 (1 state is transient)
Write: Anytime
76543210
R
IOS7 IOS6 IOS5 IOS4
0000
W
Reset 0 0 0 00000
Figure 13-6. Timer Input Capture/Output Compare Select (TIOS)
Table 13-2. 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.
76543210
R00000000
W FOC7 FOC6 FOC5 FOC4
Reset 0 0 0 00000
Figure 13-7. Timer Compare Force Register (CFORC)
Table 13-3. 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 data bit(s) set
causes the action which is programmed for output compare “x” to occur immediately. The action taken is the
same as if a successful comparison had just taken place with the TCx register except the interrupt flag does not
get set.
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 won’t get set.