mc68hc11f1cpu3 Freescale Semiconductor, Inc, mc68hc11f1cpu3 Datasheet - Page 118

no-image

mc68hc11f1cpu3

Manufacturer Part Number
mc68hc11f1cpu3
Description
Mc68hc11f1 Microcontroller
Manufacturer
Freescale Semiconductor, Inc
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
MC68HC11F1CPU3
Manufacturer:
ATMEL
Quantity:
1 000
9.3.10 Timer Interrupt Flag Register 2
TFLG2 — Timer Interrupt Flag 2
TOF — Timer Overflow Interrupt Flag
RTIF — Real-Time (Periodic) Interrupt Flag
PAOVF — Pulse Accumulator Overflow Interrupt Flag
PAIF — Pulse Accumulator Input Edge Interrupt Flag
Bits [3:0] — Not implemented
9.4 Real-Time Interrupt
9-12
RESET:
Bits in this register indicate when certain timer system events have occurred. Coupled
with the four high-order bits of TMSK2, the bits of TFLG2 allow the timer subsystem to
operate in either a polled or interrupt driven system. Each bit of TFLG2 corresponds
to a bit in TMSK2 in the same position.
Clear flags by writing a one to the corresponding bit position(s).
Set when TCNT changes from $FFFF to $0000
Refer to 9.4 Real-Time Interrupt.
Refer to 9.6 Pulse Accumulator.
Refer to 9.6 Pulse Accumulator.
Always read zero
The real-time interrupt (RTI) feature, used to generate hardware interrupts at a fixed
periodic rate, is controlled and configured by two bits (RTR1 and RTR0) in the pulse
accumulator control (PACTL) register. The RTII bit in the TMSK2 register enables the
interrupt capability. The four different rates available are a product of the MCU oscil-
lator frequency and the value of bits RTR[1:0]. Refer to Table 9-4, which shows the
periodic real-time interrupt rates.
Bit 7
TOF
0
Bits in TMSK2 correspond bit for bit with flag bits in TFLG2. Ones in
TMSK2 enable the corresponding interrupt sources.
RTIF
6
0
Freescale Semiconductor, Inc.
Table 9-3 Timer Prescaler Selection
For More Information On This Product,
PR[1:0]
PAOVF
0 0
0 1
1 0
1 1
5
0
Go to: www.freescale.com
TIMING SYSTEM
PAIF
4
0
NOTE
0
3
Prescaler
2
0
16
1
4
8
1
0
TECHNICAL DATA
Bit 0
0
MC68HC11F1
$1025

Related parts for mc68hc11f1cpu3