|
MC68HC11KW1 Datasheet, PDF (175/238 Pages) Motorola, Inc – High-density complementary metal oxide semiconductor HCMOS) microcontroller unit | |||
|
◁ |
TO2I â Timer 2 overï¬ow interrupt enable
1 (set) â Timer 2 overï¬ow interrupt requested when T2OF is set.
0 (clear) â T2OF interrupts disabled.
Bits [2:0] â Not implemented; always read zero.
9.2.10 T2FLG â Timer 2 interrupt ï¬ag register
Timer 2 interrupt ï¬ag (T2FLG)
Address bit 7
bit 6
bit 5
bit 4
bit 3
bit 2
bit 1
bit 0
State
on reset
$008D OC1F OC2F OC3F C4F TO2F 0
0
0 0000 0000
Bits in this register indicate when timer system events have occurred. Clear ï¬ags by writing a one
to the corresponding bit position(s).
Note:
Bits in T2FLG correspond bit for bit with ï¬ag bits in T2MSK. Ones in T2MSK enable the
corresponding interrupt sources.
OC1FâOC3F â Output compare x ï¬ag
1 (set) â Counter has reached the preset output compare x value.
0 (clear) â Counter has not reached the preset output compare x value.
These ï¬ags are set each time the counter matches the corresponding output compare x values.
9
C4F â Input capture 1/output compare 4 ï¬ag
This ï¬ag is set by IC1 or OC4, depending on the function enabled by I1/O4 bit in TCTL4. If C4 is
conï¬gured as an input capture channel, then:
1 (set) â Selected edge has been detected on pin PJ7
0 (clear) â Selected edge has not been detected on pin PJ7.
TO2F â Timer 2 overï¬ow ï¬ag
1 (set) â TCNT2 has overï¬owed from $FFFF to $0000.
0 (clear) â No Timer 2 overï¬ow has occurred.
Bits [2:0] â Not implemented; always read zero.
MC68HC11KW1
TIMING SYSTEM
9-23
|
▷ |