Precautions; Timer Mode - Renesas M16C Series User Manual

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

Advertisement

M30240 Group

2.3.3 Precautions

2.3.3.1 Timer mode

(1) At 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.38 gets
"FFFF
". Reading the Timer Bi register after setting a value in the Timer Bi register with a count stopped
16
but before the counter starts counting gets a proper value.
Figure 2.38: Reading Timer Bi register
Rev.1.00 Sep 24, 2003 Page 176 of 360
2
1
Counter value (Hex.)
Read value (Hex.)
2
1
n = reload register content
Reload
n
n – 1
0
FFFF
n – 1
0
Time
Timer B

Advertisement

Table of Contents
loading

Table of Contents