MC68HC05T16
MOTOROLA
5-9
TIMERS
5
Figure 5-4 Timer State Timing Diagram for Output Compare
Figure 5-5 Timer State Diagram for Timer Overflow
INTERNAL
PROCESSOR
CLOCK
T00
T01
T10
T11
COUNTER
(16 BIT)
INTERNAL
TIMER
CLOCKS
$F455
$F456
$F457
$F458
$F459
Note 1
Note 2
$F457
CPU writes $F457
OUTPUT COMPARE
REGISTER
COMPARE REGISTER
OUTPUT COMPARE
Flag and TCMP1, 2
Note:
1. The CPU write to the compare registers may take place at any time, but a compare only occurs at
the timer state T01. Thus a 4-cycle difference may exist between the write to the compare register
and the actual compare.
2. The output compare flag is set at the timer state T11 that follows the comparison match ($F547 in
this example).
LATCH
Note 1
INTERNAL
PROCESSOR
CLOCK
T00
T01
T10
T11
COUNTER
(16 BIT)
INTERNAL
TIMER
CLOCKS
$FFFE
$FFFF
$0000
$0001
$0002
Note:
TIMER
OVERFLOW
FLAG (TOF)
The TOF bit is set at timer state T11 (transition of counter from $FFFF to $0000).
It is cleared by a read of the timer status register during the internal processor
clock high time followed by a read of the counter low register.
TPG
49
Summary of Contents for MC68HC05T16
Page 2: ......
Page 14: ...MOTOROLA vi MC68HC05T16 THIS PAGE LEFT BLANK INTENTIONALLY TPG 12 ...
Page 16: ...MOTOROLA viii MC68HC05T16 THIS PAGE LEFT BLANK INTENTIONALLY TPG 14 ...
Page 18: ...MOTOROLA x MC68HC05T16 THIS PAGE LEFT BLANK INTENTIONALLY TPG 16 ...
Page 54: ...MOTOROLA 5 12 MC68HC05T16 TIMERS 5 THIS PAGE LEFT BLANK INTENTIONALLY TPG 52 ...
Page 64: ...MOTOROLA 6 10 MC68HC05T16 M BUS SERIAL INTERFACE 6 THIS PAGE LEFT BLANK INTENTIONALLY TPG 62 ...
Page 110: ...MOTOROLA 12 4 MC68HC05T16 LOW POWER MODES 12 THIS PAGE LEFT BLANK INTENTIONALLY TPG 108 ...
Page 116: ...MOTOROLA 13 6 MC68HC05T16 OPERATING MODES 13 THIS PAGE LEFT BLANK INTENTIONALLY TPG 114 ...