English
Language : 

MC68HC705K1 Datasheet, PDF (77/140 Pages) Freescale Semiconductor, Inc – HCMOS Microcontroller Unit
Freescale Semiconductor, Inc.
Multifunction Timer
Timer Status and Control Register
8.3 Timer Status and Control Register
The read/write timer status and control register (TSCR) contains these
bits:
• Timer interrupt enable bits
• Timer interrupt flags
• Timer interrupt flag reset bits
• Timer interrupt rate select bits
Address: $0008
Bit 7
6
5
4
3
2
1
Bit 0
Read: TOF
RTIF
TOIE RTIE
RT1
RT0
Write:
TOFR RTIFR
Reset: 0
0
0
0
U
U
1
1
= Unimplemented
U = Unaffected
Figure 8-2. Timer Status and Control Register (TSCR)
TOF — Timer Overflow Flag
This read-only flag becomes set when the first eight stages of the
counter roll over from $FF to $00. TOF generates a timer overflow
interrupt request if TOIE is also set. Clear TOF by writing a logic 1 to
the TOFR bit. Writing to TOF has no effect. Reset clears TOF.
RTIF — Real-Time Interrupt Flag
This read-only flag becomes set when the selected real-time interrupt
(RTI) output becomes active. RTIF generates a real-time interrupt
request if RTIE is also set. Clear RTIF by writing a logic 1 to the
RTIFR bit. Writing to RTIF has no effect. Reset clears RTIF.
TOIE — Timer Overflow Interrupt Enable Bit
This read/write bit enables timer overflow interrupts. Reset clears
TOIE.
1 = Timer overflow interrupts enabled
0 = Timer overflow interrupts disabled
MC68HC705K1 — Rev. 2.0
Multifunction Timer
For More Information On This Product,
Go to: www.freescale.com
Technical Data