
Timer A
Mitsubishi microcomputer
M16C / 62A Grou
SINGLE-CHIP 16-BIT CMOS MICROCOMPUTE
2-2
2.2.13 Precautions for Timer A (timer mode)
Figure 2.2.28. Reading timer Ai register
(1) To clear reset, the count start flag is set to “0”. Set a value in the timer Ai register, then set the
flag to “1”.
(2) Reading the timer Ai register while a count is in progress allows reading, with arbitrary timing,
the value of the counter. Reading the timer Ai register with the reload timing shown in Figure
2.2.28 gets “FFFF16”. Reading the timer Ai register after setting a value in the timer Ai regis-
ter with a count halted but before the counter starts counting gets a proper value.
210 nn – 1
Counter value (Hex.)
210FFFFn – 1
Read value (Hex.)
Reload
Time
n = reload register content
Commentaires sur ces manuels