MC68HC11F1MFN2 FREESCALE [Freescale Semiconductor, Inc], MC68HC11F1MFN2 Datasheet - Page 62

no-image

MC68HC11F1MFN2

Manufacturer Part Number
MC68HC11F1MFN2
Description
Technical Summary 8-Bit Microcontroller
Manufacturer
FREESCALE [Freescale Semiconductor, Inc]
Datasheet
OCxF — Output Compare x Flag
I4/O5F — Input Capture 4/Output Compare 5 Flag
ICxF — Input Capture x Flag
TMSK2 — Timer Interrupt Mask 2
TOI — Timer Overflow Interrupt Enable
RTII — Real-Time Interrupt Enable
Bits [5:4] — See 13.2 Pulse Accumulator Registers, page 64.
Bits [3:2] — Not implemented. Reads always return zero and writes have no effect.
PR[1:0] — Timer Prescaler Select
TFLG2 — Timer Interrupt Flag 2
TOF — Timer Overflow Flag
62
RESET:
RESET:
Set each time the counter matches output compare x value.
Set by IC4 or OC5, depending on which function was enabled by I4/O5 of PACTL.
Set each time a selected active edge is detected on the ICx input line.
Bits [7:4] in TMSK2 correspond bit for bit with flag bits in TFLG2. Setting any of these bits enables the
corresponding interrupt source. TMSK2 can be written only once in the first 64 cycles out of reset in
normal modes, or at any time in special modes.
Determines the main timer prescale factor as shown in Table 31. See Table 26 for specific frequencies.
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.
Bits in TFLG2 are cleared by writing a one to the corresponding bit positions.
Set when TCNT rolls over from $FFFF to $0000.
0 = Timer overflow interrupt disabled
1 = Interrupt requested when TOF is set
0 = Real-time interrupt disabled
1 = Interrupt requested when RTIF is set
Bit 7
Bit 7
TOF
TOI
0
0
RTIF
RTII
6
0
6
0
Freescale Semiconductor, Inc.
For More Information On This Product,
Table 31 Main Timer Prescale Control
PAOVF
PAOVI
5
0
5
0
PR[1:0]
Go to: www.freescale.com
0 0
0 1
1 0
1 1
PAIF
PAII
4
0
4
0
3
0
0
3
0
0
Prescaler
16
1
4
8
2
0
0
2
0
0
PR1
1
0
1
0
0
MC68HC11F1/FC0
MC68HC11FTS/D
Bit 0
PR0
Bit 0
0
0
0
$x024
$x025

Related parts for MC68HC11F1MFN2