|
MC68HC11KW1 Datasheet, PDF (184/238 Pages) Motorola, Inc – High-density complementary metal oxide semiconductor HCMOS) microcontroller unit | |||
|
◁ |
PAOVI â Pulse accumulator overï¬ow interrupt enable (refer to Section 9.6)
PAII â Pulse accumulator input edge (refer to Section 9.6)
PR[1:0] â Timer prescaler select (refer to Section 9.1.3.9)
9.4.2 TFLG2 â Timer interrupt ï¬ag register 2
Timer interrupt ï¬ag 2 (TFLG2)
Address bit 7
bit 6
bit 5
bit 4
bit 3
bit 2
bit 1
bit 0
State
on reset
$0025 TOF RTIF PAOVF PAIF 0
0
0
0 0000 0000
Bits of this register 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. Clear ï¬ags by writing a one to the corresponding bit position(s).
Note:
Bits in TFLG2 correspond bit for bit with ï¬ag bits in TMSK2. Ones in TMSK2 enable the
corresponding interrupt sources.
TOF â Timer overï¬ow interrupt ï¬ag
1 (set) â The timer has overï¬owed, from $FFFF to $0000.
0 (clear) â No timer overï¬ow has occurred.
9
RTIF â Real-time interrupt ï¬ag
1 (set) â RTI period has elapsed.
0 (clear) â RTI ï¬ag has been cleared.
The RTIF status bit is automatically set to one at the end of every RTI period.
PAOVF â Pulse accumulator overï¬ow interrupt ï¬ag (refer to Section 9.6)
PAIF â Pulse accumulator input edge interrupt ï¬ag (refer to Section 9.6)
Bits [3:0] â Not implemented; always read zero
9-32
TIMING SYSTEM
MC68HC11KW1
|
▷ |