MC68HC05K1 FREESCALE [Freescale Semiconductor, Inc], MC68HC05K1 Datasheet - Page 79

no-image

MC68HC05K1

Manufacturer Part Number
MC68HC05K1
Description
HCMOS Microcontroller Unit
Manufacturer
FREESCALE [Freescale Semiconductor, Inc]
Datasheet
MC68HC05K0 • MC68HC05K1 — Rev. 2.0
Address:
TOF — Timer Overflow Flag
RTIF — Real-Time Interrupt Flag
TOIE — Timer Overflow Interrupt Enable Bit
RTIE — Real-Time Interrupt Enable Bit
TOFR — Timer Overflow Flag Reset Bit
Reset:
Read:
Write:
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.
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.
This read/write bit enables timer overflow interrupts. Reset clears
TOIE.
This read/write bit enables real-time interrupts. Reset clears RTIE.
Writing a logic 1 to this write-only bit clears the TOF bit. TOFR always
reads as a logic 0. Reset does not affect TOFR.
Freescale Semiconductor, Inc.
For More Information On This Product,
1 = Timer overflow interrupts enabled
0 = Timer overflow interrupts disabled
1 = Real-time interrupts enabled
0 = Real-time interrupts disabled
Figure 8-2. Timer Status and Control Register (TSCR)
$0008
Bit 7
TOF
0
Go to: www.freescale.com
= Unimplemented
Multifunction Timer
RTIF
6
0
TOIE
5
0
RTIE
4
0
TOFR
3
0
0
Timer Status and Control Register
RTIFR
2
0
0
Multifunction Timer
RT1
1
1
Technical Data
Bit 0
RT0
1

Related parts for MC68HC05K1