mc68hc711d3 Freescale Semiconductor, Inc, mc68hc711d3 Datasheet - Page 99

no-image

mc68hc711d3

Manufacturer Part Number
mc68hc711d3
Description
M Hc11 Microcontrollers Microcontroller
Manufacturer
Freescale Semiconductor, Inc
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
mc68hc711d3CFN2
Manufacturer:
DIODES
Quantity:
12 000
Part Number:
mc68hc711d3CFN2
Manufacturer:
MOT
Quantity:
5 510
Part Number:
mc68hc711d3CFN2
Manufacturer:
FREESCALE
Quantity:
3 431
Part Number:
mc68hc711d3CFN2
Manufacturer:
Freescale Semiconductor
Quantity:
10 000
Part Number:
mc68hc711d3CFN3
Manufacturer:
FREESCALE
Quantity:
8 831
Part Number:
mc68hc711d3CFN3
Manufacturer:
FREESCALE
Quantity:
3 432
Part Number:
mc68hc711d3CFNE2
Manufacturer:
ALLEGEO
Quantity:
4 492
Part Number:
mc68hc711d3CFNE2
Manufacturer:
FREESCALE
Quantity:
1 489
Part Number:
mc68hc711d3CFNE2
Manufacturer:
Freescale Semiconductor
Quantity:
10 000
Part Number:
mc68hc711d3CFNE3
Manufacturer:
SGS
Quantity:
6 218
PR1 and PR0 — Timer Prescaler Select Bits
8.5.2 Timer Interrupt Flag 2 Register
Bits of the timer interrupt flag 2 register (TFLG2) indicate the occurrence of timer system events. 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 1 to the corresponding bit position(s).
TOF — Timer Overflow Interrupt Flag
RTIF — Real-Time Interrupt Flag
PAOVF — Pulse Accumulator Overflow Interrupt Flag
PAIF — Pulse Accumulator Input Edge Interrupt Flag
Bits 3–0 — Not implemented
8.5.3 Pulse Accumulator Control Register
Bits RTR1 and RTR0 of the pulse accumulator control register (PACTL) select the rate for the real-time
interrupt system. Bit DDRA3 determines whether port A bit three is an input or an output when used for
general-purpose I/O. The remaining bits control the pulse accumulator.
Freescale Semiconductor
Refer to
Set when TCNT changes from $FFFF to $0000
The RTIF status bit is automatically set to 1 at the end of every RTI period. To clear RTIF, write a byte
to TFLG2 with bit 6 set.
Refer to
Refer to
Always read 0.
Table
8.7 Pulse
8.7 Pulse
Address:
Address:
Bits in TMSK2 correspond bit for bit with flag bits in TFLG2. Ones in TMSK2
enable the corresponding interrupt sources.
Reset:
Reset:
Read:
Read:
Write:
Write:
8-4.
Figure 8-18. Pulse Accumulator Control Register (PACTL)
Accumulator.
Accumulator.
DDRA7
$0025
$0026
Bit 7
TOF
Bit 7
0
Figure 8-17. Timer Interrupt Flag 2 Register (TFLG2)
0
PAEN
RTIF
6
0
6
0
MC68HC711D3 Data Sheet, Rev. 2.1
PAMOD
PAOVF
5
0
5
0
PEDGE
NOTE
PAIF
4
0
4
0
DDRA3
3
0
0
3
0
I4/O5
2
0
0
2
0
RTR1
1
0
0
1
0
RTR0
Bit 0
Bit 0
0
0
0
Real-Time Interrupt
99

Related parts for mc68hc711d3