Datasheet
R8C/M11A Group, R8C/M12A Group 1. Overview
R01DS0010EJ0200 Rev.2.00 Page 10 of 45
May 31, 2012
1.5 Pin Functions
Table 1.7 lists the Pin Functions.
Note:
1. Contact the oscillator manufacturer for oscillation characteristics.
Table 1.7 Pin Functions
Item Pin Name I/O Description
Power supply input VCC, VSS — Apply 1.8 V through 5.5 V to the VCC pin.
Apply 0 V to the VSS pin.
Analog power
supply input
AVCC, AVSS — Power supply input for the A/D converter.
Connect a capacitor between pins AVCC and AVSS.
Reset input
RESET
I Applying a low level to this pin resets the MCU.
MODE MODE I Connect this pin to the VCC pin via a resistor.
XIN clock input XIN I I/O for the XIN clock generation circuit.
Connect a ceramic resonator or a crystal oscillator between
pins XIN and XOUT.
(1)
To use an external clock, input it to the XIN pin. P4_7 can be
used as an I/O port at this time.
XIN clock output XOUT O
INT
interrupt input INT0 to INT3
I
INT interrupt input.
Key input interrupt
KI0
to KI3
I Key input interrupt input.
I/O ports P1_0 to P1_7,
P3_0 to P3_5, P3_7,
P4_2, P4_5 to P4_7,
PA_0
I/O CMOS I/O ports.
Each port has an I/O select direction register, enabling
switching input and output for each port.
For input ports other than PA_0, the presence or absence of a
pull-up resistor can be selected by a program.
P1_2 to P1_5, P3_3 to P3_5, and P3_7 can be used as LED
drive ports.
Timer RJ2 TRJIO I/O Timer RJ2 I/O.
TRJO O Timer RJ2 output.
Timer RB2 TRBO O Timer RB2 output.
Timer RC TRCCLK I External clock input.
TRCTRG I External trigger input.
TRCIOA, TRCIOB,
TRCIOC, TRCIOD
I/O Timer RC I/O.
Serial interface CLK0 I/O Transfer clock I/O.
RXD0 I Serial data input.
TXD0 O Serial data output.
A/D converter AN0 to AN4, AN7 I Analog input for the A/D converter.
ADTRG
I External trigger input for the A/D converter.
Comparator B IVCMP1, IVCMP3 I Analog voltage input for comparator B.
IVREF1, IVREF3 I Reference voltage input for comparator B.
VCOUT1, VCOUT3 O Comparison result output for comparator B.