English
Language : 

MC68HC11F1_13 Datasheet, PDF (119/158 Pages) Freescale Semiconductor, Inc – Technical Data
Freescale Semiconductor, Inc.
RTR[1:0]
00
01
10
11
Table 9-4 RTI Rate Selection
E = 1 MHz
8.192 ms
16.384 ms
32.768 ms
65.536 ms
E = 2 MHz
4.096 ms
8.192 ms
16.384 ms
32.768 ms
E = 3 MHz
2.731 ms
5.461 ms
10.923 ms
21.845 ms
E = 4 MHz
2.048 ms
4.096 ms
8.192 ms
16.384 ms
E = X MHz
(213/E)
(214/E)
(215/E)
(216/E)
The clock source for the RTI function is a free-running clock that cannot be stopped or
interrupted except by reset. This clock causes the time between successive RTI time-
outs to be a constant that is independent of the software latencies associated with flag
clearing and service. For this reason, an RTI period starts from the previous time-out,
not from when RTIF is cleared.
Every time-out causes the RTIF bit in TFLG2 to be set, and if RTII is set, an interrupt
request is generated. After reset, one entire RTI period elapses before the RTIF flag
is set for the first time. Refer to the TMSK2, TFLG2, and PACTL registers.
9.4.1 Timer Interrupt Mask Register 2
This register contains the real-time interrupt enable bits.
TMSK2 — Timer Interrupt Mask Register 2
Bit 7
6
5
4
3
2
TOI
RTII
PAOVI
PAII
—
—
RESET:
0
0
0
0
0
0
TOI — Timer Overflow Interrupt Enable
0 = TOF interrupts disabled
1 = Interrupt requested when TOF is set to one
$1024
1
Bit 0
PR1
PR0
0
0
RTII — Real-Time Interrupt Enable
0 = RTIF interrupts disabled
1 = Interrupt requested when RTIF set to one
PAOVI — Pulse Accumulator Overflow Interrupt Enable
Refer to 9.6 Pulse Accumulator.
PAII — Pulse Accumulator Input Edge
Refer to 9.6 Pulse Accumulator.
PR[1:0] — Timer Prescaler Select
Refer to Table 9-4.
NOTE
Bits in TMSK2 correspond bit for bit with flag bits in TFLG2. Ones in
TMSK2 enable the corresponding interrupt sources.
TECHNICAL DATA
TIMING SYSTEM
For More Information On This Product,
Go to: www.freescale.com
9-13