Mitsubishi Electric M32R Series User Manual page 362

Mitsubishi 32-bit risc single-chip microcomputers
Table of Contents

Advertisement

10
In the example below, the counter has the initial value H'A000 set in it and the reload register has
the initial value H'F000 set in it. When the timer starts, the counter starts counting down clock
pulses and when it underflows after reaching the minimum count, the counter is reloaded with the
content of the reload register. Then when the counter underflows next time while continuing down-
count, it stops.
Count clock
Enable bit
H'FFFF
Counter
H'0000
Reload register
Correction register
F/F output
TOP interrupt
due to underflow
Note: This diagram does not show detail timing information.
Figure 10.3.16 Typical Operation in TOP Delayed Single-shot Output
Enabled
(by writing to enable bit
or by external input)
Down-count starting
from counter's
H'A000
set value
H'F000
(Not used)
10-92
MULTIJUNCTION TIMERS
10.3 TOP (Output-related 16-bit Timer)
Underflow
(first time)
H'FFFF
H'F000
H'(F000-1)
Down-count starting
from reload register's
Data inverted by
underflow
Underflow
(second time)
set value
Data inverted by
underflow
Ver.0.10

Advertisement

Table of Contents
loading

Table of Contents