M30622MA-XXXFP RENESAS [Renesas Technology Corp], M30622MA-XXXFP Datasheet - Page 324

no-image

M30622MA-XXXFP

Manufacturer Part Number
M30622MA-XXXFP
Description
16-BIT SINGLE-CHIP MICROCOMPUTER M16C FAMILY
Manufacturer
RENESAS [Renesas Technology Corp]
Datasheet
Timer A
Figure 2.2.29. Reading timer Ai register
Figure 2.2.30. Standard of 2-phase pulses
2.2.14 Precautions for Timer A (event counter mode)
(1) Down count
Counter value
(Hex.)
Read value
(Hex.)
TA2
TA3
TA4
TA2
TA3
TA4
(1) To clear reset, the count start flag is set to “0”. Set a value in the timer Ai register, then set the
(2) Reading the timer Ai register while a count is in progress allows reading, with arbitrary timing,
(3) Please note the standards for the differences between the 2 pulses used in the 2-phase pulse
(4) When free run type is selected, if count is stopped, set a value in the timer Ai register again.
n = reload register content
OUT
OUT
OUT
IN
IN
IN
flag to “1”.
the value of the counter. Reading the timer Ai register with the reload timing shown in Figure
2.2.29 gets “FFFF
setting a value in the timer Ai register with a count halted but before the counter starts count-
ing gets a proper value.
signals input signals to the TAi
2
2
T2
1
1
T3
T1
16
0
0
” by underflow or “0000
Reload
FFFF
n
Time
n – 1
n – 1
IN
pin and TAi
Read value
(Hex.)
Counter value
(Hex.)
(2) Up count
16
” by overflow. Reading the timer Ai register after
OUT
pin (i = 2, 3, 4), as shown in Figure 2.2.30.
n = reload register content
Vcc = 5V, f(X
Vcc = 3V, f(X
SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
800ns
(Min.)
(Min.)
2µs
T1
T1
FFFD FFFE FFFF
FFFD FFFE FFFF 0000 n + 1
IN
IN
) = 16MHz
) = 10MHz, one-wait
T2, T3
200ns
T2, T3
500ns
(Min.)
(Min.)
Mitsubishi microcomputers
M16C / 62 Group
Reload
n
Time
n + 1
309

Related parts for M30622MA-XXXFP