Chapter 15 Timer Module (TIM16B8CV1) Block Description
452
MC9S12C-Family / MC9S12GC-Family
Freescale Semiconductor
Rev 01.24
Write: Used in the clearing mechanism (set bits cause corresponding bits to be cleared). Writing a zero
will not affect current status of the bit.
15.3.2.13 Main Timer Interrupt Flag 2 (TFLG2)
TFLG2 indicates when interrupt conditions have occurred. To clear a bit in the flag register, write the bit
to one while TEN of TSCR1 is set to one.
Read: Anytime
Write: Used in clearing mechanism (set bits cause corresponding bits to be cleared).
Any access to TCNT will clear TFLG2 register if the TFFCA bit in TSCR register is set.
Table 15-17. TRLG1 Field Descriptions
Field
Description
7:0
C[7:0]F
Input Capture/Output Compare Channel “x” Flag
— These flags are set when an input capture or output
compare event occurs. Clearing requires writing a one to the corresponding flag bit when TEN is set to one.
When TFFCA bit in TSCR register is set, a read from an input capture or a write into an output compare channel
(0x0010–0x001F) will cause the corresponding channel flag CxF to be cleared.
Module Base + 0x000F
7
6
5
4
3
2
1
0
R
TOF
0
0
0
0
0
0
0
W
Reset
0
0
0
0
0
0
0
0
Unimplemented or Reserved
Figure 15-21. Main Timer Interrupt Flag 2 (TFLG2)
Table 15-18. TRLG2 Field Descriptions
Field
Description
7
TOF
Timer Overflow Flag
— Set when 16-bit free-running timer overflows from 0xFFFF to 0x0000. Clearing this bit
requires writing a one to bit 7 of TFLG2 register while TEN bit of TSCR1 is set to one. (See also TCRE control
bit explanation.)
Summary of Contents for MC9S12C Family
Page 689: ......