Datasheet
R8C/2K Group, R8C/2L Group 1. Overview
Rev.1.10 Dec 21, 2007 Page 11 of 45
REJ03B0219-0110
1.5 Pin Functions
Table 1.8 lists Pin Functions.
I: Input O: Output I/O: Input and output
NOTE:
1. Refer to the oscillator manufacturer for oscillation characteristics.
Table 1.8 Pin Functions
Item Pin Name
I/O Type
Description
Power supply input VCC, VSS ā Apply 2.2 V to 5.5 V to the VCC pin. Apply 0 V to the VSS pin.
Analog power
supply input
AVCC, AVSS ā Power supply for the A/D converter.
Connect a capacitor between AVCC and AVSS.
Reset input
RESET
I Input āLā on this pin resets the MCU.
MODE MODE I Connect this pin to VCC via a resistor.
XIN clock input XIN I These pins are provided for XIN clock generation circuit I/O.
Connect a ceramic resonator or a crystal oscillator between
the XIN and XOUT pins
(1)
. To use an external clock, input it to
the XIN pin and leave the XOUT pin open.
XIN clock output XOUT O
INT
interrupt input INT0, INT1, INT3
I
INT
interrupt input pins.
INT0
is timer RB, timer RC and timer RD input pins.
Key input interrupt
KI0
to KI3
I Key input interrupt input pins
Timer RA TRAIO I/O Timer RA I/O pin
Timer RB TRBO O Timer RB output pin
Timer RC TRCCLK I External clock input pin
TRCTRG I External trigger input pin
TRCIOA, TRCIOB,
TRCIOC, TRCIOD
I/O Timer RC I/O pins
Timer RD TRDIOA0, TRDIOA1,
TRDIOB0, TRDIOB1,
TRDIOC0, TRDIOC1,
TRDIOD0, TRDIOD1
I/O Timer RD I/O pins
TRDCLK I External clock input pin
Serial interface CLK0, CLK2 I/O Transfer clock I/O pins
RXD0, RXD2 I Serial data input pins
TXD0, TXD2 O Serial data output pins
Reference voltage
input
VREF I Reference voltage input pin to A/D converter
A/D converter AN2, AN4 to AN11 I Analog input pins to A/D converter
I/O port P0_0 to P0_3, P0_5,
P1_0 to P1_7,
P2_0 to P2_7,
P3_3 to P3_5,
P4_5,
I/O CMOS I/O ports. Each port has an I/O select direction
register, allowing each pin in the port to be directed for input
or output individually.
Any port set to input can be set to use a pull-up resistor or not
by a program.
P2_0 to P2_7 also function as LED drive ports.
Input port P4_2, P4_6, P4_7 I Input-only ports