English
Language : 

M32C8A Datasheet, PDF (176/372 Pages) Renesas Technology Corp – RENESAS MCU M16C FAMILY / M32C/80 Series
M32C/8A Group
15. Timers (Timer A)
Normal processing operation (Timer A2 and timer A3)
While an "H" is applied to the TAjOUT pin (j = 2, 3), the counter increments at the rising edge of the TAjIN pin and decrements at
the falling edge.
TAjOUT
TAjIN
<Free-running function>
Counter value
m
m+1 m+2 m+1
m
m-1
1
0
FFFF FFFE FFFF
0
IR bit in the
TAjIC register
<Reload function>
Set to 0 by an interrupt request acknowledgement or by program.
Counter value
m
m+1 m+2 m+1
m
m-1
1
0
FFFF m-1
m
m+1
IR bit in the
TAjIC register
Multiply-by-4 processing operation (Timer A3 and timer A4)
The counter increments at the following timings:
-at the rising edge of TAkIN while TAkOUT is “H”
-at the falling edge of TAkIN while TAkOUT is “L”
-at the rising edge of TAkOUT while TAkIN is “L”
-at the falling edge of TAkOUT while TAkIN is “H”
Set to 0 by an interrupt request acknowledgement or by program.
The counter decrements at the following timings:
-at the rising edge of TAkIN while TAkOUT is “L”
-at the falling edge of TAkIN while TAkOUT is “H”
-at the rising edge of TAkOUT while TAkIN is “H”
-at the falling edge of TAkOUT while TAkIN is “L”
TAkOUT
TAkIN
<Free-running function>
Counter value
m
m+1 m+2 m+1
m
m-1
1
0
FFFF FFFE FFFF
0
IR bit in the
TAkIC register
<Reload function>
Set to 0 by an interrupt request acknowledgement or by program.
Counter value
m
m+1 m+2 m+1
m
m-1
1
0
FFFF m-1
m
m+1
IR bit in the
TAkIC register
: increment
:decrement
Set to 0 by an interrupt request acknowledgement or by program.
Figure 15.16 Operation in Event Counter Mode When Handling Two-Phase Pulse Signals on
Timers A2, A3, and A4
Rev.1.00 Jul 15, 2007 Page 159 of 352
REJ09B0385-0100