Mitsubishi Electric M32R Series User Manual page 368

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'E000 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 and continues counting down.
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.21 Typical Operation in TOP Continuous Output Mode
Enabled
(by writing to enable bit
or by external input)
H'E000
Down-count
starting from
H'A000
counter's
set value
H'E000
(Not used)
Data inverted by
Data inverted by
enable
10-98
MULTIJUNCTION TIMERS
10.3 TOP (Output-related 16-bit Timer)
Underflow
(first time)
(second time)
H'FFFF
H'(E000-1)
Down-count
starting from
reload register
set value
Data inverted by
underflow
Underflow
H'FFFF
H'(E000-1)
Down-count
starting from
reload register
set value
underflow
Ver.0.10

Advertisement

Table of Contents
loading

Table of Contents