Rev.2.00 Oct 16, 2006 page 34 of 354
REJ09B0340-0200
M30245 Group
2. Timer A
2.2.12 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 “FFFF
16
”. 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.
2
1
0
n
n – 1
Counter value (Hex.)
2
1
0
FFFF
n – 1
Read value (Hex.)
Reload
Time
n = reload register content
Summary of Contents for M16C FAMILY
Page 12: ...Chapter 1 Hardware...
Page 13: ...See M30245 group datasheet...
Page 14: ...Chapter 2 Peripheral Functions Usage...
Page 303: ...THIS PAGE IS BLANK FOR REASONS OF LAYOUT...
Page 304: ...Chapter 3 Examples of Peripheral Functions Applications...
Page 340: ...Chapter 4 External Buses...
Page 361: ...THIS PAGE IS BLANK FOR REASONS OF LAYOUT...
Page 362: ...Chapter 5 Standard Characteristics...