English
Language : 

M16C62_M Datasheet, PDF (367/615 Pages) Renesas Technology Corp – 16-BIT SINGLE-CHIP MICROCOMPUTER M16C FAMILY / M16C/60 SERIES
Timer B
Mitsubishi microcomputers
M16C / 62A Group
SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
2.3.6 Precautions for Timer B (timer mode, event counter mode)
(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.
Reload
Counter value (Hex.)
2
1
0
n n–1
Read value (Hex.)
2
1
0 FFFF n – 1
n = reload register content
Time
Figure 2.3.12. Reading timer Bi register
2-50