
Timer B
Mitsubishi microcomputer
M16C / 62A Grou
SINGLE-CHIP 16-BIT CMOS MICROCOMPUTE
2-6
(1) To clear reset, the count start flag is set to “0”. Set a value in the timer Bi register, then set the
flag to “1”.
(2) Reading the timer Bi register while a count is in progress allows reading, with arbitrary timing,
the value of the counter. Reading the timer Bi register with the reload timing shown in Figure
2.3.12 gets “FFFF16”. Reading the timer Bi register after setting a value in the timer Bi regis-
ter with a count halted but before the counter starts counting gets a proper value.
2.3.6 Precautions for Timer B (timer mode, event counter mode)
Figure 2.3.12. Reading timer Bi register
21
0
nn – 1
Counter value (Hex.)
21
0
FFFF n – 1
Read value (Hex.)
Reload
Time
n = reload register content
Komentáře k této Příručce