|
M16C62_N Datasheet, PDF (323/621 Pages) Renesas Technology Corp – 16-BIT SINGLE-CHIP MICROCOMPUTER M16C FAMILY | |||
|
◁ |
Timer A
Mitsubishi microcomputers
M16C / 62 Group
SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
2.2.13 Precautions for Timer A (timer mode)
(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.
Reload
Counter value (Hex.)
2
1
0
n nâ1
Read value (Hex.)
2
1
0 FFFF n â 1
n = reload register content
Figure 2.2.28. Reading timer Ai register
Time
308
|
▷ |