Precautions For Timer A (Timer Mode) - Renesas M16C Series User Manual

16-bit single-chip microcomputer
Hide thumbs Also See for M16C Series:
Table of Contents

Advertisement

M30245 Group

2.2.12 Precautions for Timer A (timer mode)

www.DataSheet4U.com
Figure 2.2.28. Reading timer Ai register
Rev.2.00 Oct 16, 2006
REJ09B0340-0200
(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 "FFFF
". Reading the timer Ai register after setting a value in the timer Ai regis-
16
ter with a count halted but before the counter starts counting gets a proper value.
Counter value (Hex.)
Read value (Hex.)
n = reload register content
page 34 of 354
Reload
2
1
0
n
2
1
0
FFFF
2. Timer A
n – 1
n – 1
Time

Advertisement

Table of Contents
loading

Table of Contents