R8C/2H Group, R8C/2J Group 1. Overview
Rev.1.00 Mar 28, 2008 Page 12 of 65
REJ03B0217-0100
1.5 Pin Functions
Table 1.7 lists Pin Functions of R8C/2H Group and Table 1.8 lists Pin Functions of R8C/2J Group.
I: Input O: Output I/O: Input and output
NOTE:
1. Refer to the oscillator manufacturer for oscillation characteristics.
Table 1.7 Pin Functions of R8C/2H Group
Type Symbol 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.
Reset input RESET
I Input “L” on this pin resets the MCU.
MODE MODE I Connect this pin to VCC via a resistor.
XCIN clock input XCIN I These pins are provided for XCIN clock generation circuit I/O.
Connect a crystal oscillator between the XCIN and XCOUT
pins.
(1)
To use an external clock, input it to the XCIN pin and
leave the XCOUT pin open.
XCIN clock output XCOUT O
INT interrupt input INT0, INT1 IINT interrupt input pins
Key input interrupt
KI0
to KI3
I Key input interrupt input pins
Timer RA TRAIO I/O Timer RA I/O pin
TRAO O Timer RA output pin
Timer RB TRBO O Timer RB output pin
Timer RE TREO O Divided clock output pin
Timer RF TRFI I Timer RF input pin
TRFO00 to TRFO02,
TRFO10 to TRFO11
O Timer RF output pins
Serial interface CLK0, CLK2 I/O Clock I/O pin
RXD0, RXD2 I Serial data input pin
TXD0, TXD2 O Serial data output pin
Comparator VCMP1, VCMP2 I Analog input pins to comparator
CVREF I Reference voltage input pin to comparator
VCOUT1, VCOUT2 O Comparator output pins
I/O port P1_0 to P1_7,
P3_3, P3_7,
P4_3, P4_5,
P6_3 to P6_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.
Output port P4_4 O Output-only port