Rev.1.60 Jan 27, 2006 page 5 of 25
REJ03B0035-0160
R8C/10 Group
1. Overview
Package: PLQP0032GB-A (32P6U-A)
Figure 1.3 Pin Assignments (Top View)
PIN CONFIGURATION (top view)
1 2 3 4 5 6 7 8
9
1
0
1
1
1
2
1
3
1
4
1
5
1
6
2
9
2
8
2
7
2
6
2
5
2
4 2
3 2
2 2
1 2
0 1
9 1
8 1
7
3
2
3
1
3
0
R
8
C
/
1
0
G
r
o
u
p
XI
N/
P
46
XO
U
T/
P
47
VS
S
R
E
S
E
T
VC
C
C
N
VS
S
P
17/
I
N
T1/
C
N
T
R0
P
16/
C
L
K0
P15/RxD0
P
14/
T
x
D0
P
37/
T
x
D1
0/
R
x
D1
P
30/
C
N
T
R0
P
33/
I
N
T3/
T
CI
N
P
31/
T
ZO
U
T
P
32/
I
N
T2/
C
N
T
R1
I
VC
C
A
VS
S
A
VC
C/
VR
E
F
P03/AN4
P
02/
A
N5
P
01/
A
N6
P
00/
A
N7/T
x
D1
1
P
06/
A
N1
P05/AN2
P
04/
A
N3
P45/INT0
P
10/
K
I0
P
11/
K
I1
P
12/
K
I2
P
13/
K
I3
P
07/
A
N0
M
O
D
E
NOTES:
1. P4
7 functions only as an input port.
2. When using On-chip debugger, do not use pins P00/AN7/TxD11
and P37/TxD10/RxD1.
3. Do not connect IVcc to Vcc.
(
1
)
1.5 Pin Assignment
Figure 1.3 shows the pin Assignments (top view).
Rev.1.60 Jan 27, 2006 page 6 of 25
REJ03B0035-0160
R8C/10 Group
1. Overview
Signal name Pin name I/O type
Power supply Vcc, I
input Vss
IVcc IVcc O
Analog power AVcc, I
supply input AVss
Reset input
___________
RESET I
CNVss CNVss I
MODE MODE I
Main clock input XIN I
Main clock output XOUT O
_____
INT interrupt input
_______ _______
INT0 to INT3 I
Key input interrupt
_____ _____
KI0 to KI3 I
Timer X CNTR0 I/O
____________
CNTR0 O
Timer Y CNTR1 I/O
Timer Z TZOUT O
Timer C TCIN I
Serial interface CLK0 I/O
RxD0, RxD1 I
TxD0, TxD10,O
TxD11
Reference voltage VREF I
input
A/D converter AN0 to AN7 I
I/O port P00 to P07, I/O
P10 to P17,
P30 to P33, P37,
P45
Input port P46, P47 I
Function
Apply 2.7 V to 5.5 V to the Vcc pin. Apply 0 V to the
Vss pin.
This pin is to stabilize internal power supply.
Connect this pin to Vss via a capacitor (0.1 µF).
Do not connect to Vcc.
Power supply input pins for A/D converter. Connect the
AVcc pin to Vcc. Connect the AVss pin to Vss. Connect a
capacitor between pins AVcc and AVss.
Input L on this pin resets the MCU.
Connect this pin to Vss via a resistor.
Connect this pin to Vcc via a resistor.
These pins are provided for the main clock generat-
ing circuit I/O. Connect a ceramic resonator or a crys-
tal oscillator between the XIN and XOUT pins. To use
an externally derived clock, input it to the XIN pin and
leave the XOUT pin open.
______
INT interrupt input pins.
Key input interrupt pins.
Timer X I/O pin
Timer X output pin
Timer Y I/O pin
Timer Z output pin
Timer C input pin
Transfer clock I/O pin.
Serial data input pins.
Serial data output pins.
Reference voltage input pin for A/D converter. Con-
nect the VREF pin to Vcc.
Analog input pins for A/D converter
These are 8-bit CMOS I/O ports. Each port has an I/O
select direction register, allowing each pin in that port
to be directed for input or output individually.
Any port set to input can select whether to use a pull-
up resistor or not by program.
P10 to P17 also function as LED drive ports.
Port for input-only.
1.6 Pin Description
Table 1.3 shows the pin description
Table 1.3 Pin description
R8C/10 Group 2. Central Processing Unit (CPU)
Rev.1.60 Jan 27, 2006 page 7 of 25
REJ03B0035-0160
2. Central Processing Unit (CPU)
Figure 2.1 shows the CPU registers. The CPU has 13 registers. Of these, R0, R1, R2, R3, A0, A1 and FB
comprise a register bank. Two sets of register banks are provided.
2.1 Data Registers (R0, R1, R2 and R3)
R0 is a 16-bit register for transfer, arithmetic and logic operations. The same applies to R1 to R3. The
R0 can be split into high-order bit (R0H) and low-order bit (R0L) to be used separately as 8-bit data
registers. The same applies to R1H and R1L as R0H and R0L. R2 can be combined with R0 to be
used as a 32-bit data register (R2R0). The same applies to R3R1 as R2R0.
Data registers
(1)
Address registers
(1)
Frame base registers
(1)
Program counter
Interrupt table register
User stack pointer
Interrupt stack pointer
Static base register
Flag register
NOTES:
1.
A re
g
ister bank com
p
rises these re
g
isters. Two sets of re
g
ister banks are
p
rovided
R
0
H
(
h
i
g
h
-
o
r
d
e
r
o
f
R
0
)
b
1
5
b
8
b7 b
0
R
3
I
N
T
B
H
USP
ISP
SB
CDZSBOIU
IPL
R
0
L
(
h
i
g
h
-
o
r
d
e
r
o
f
R
0
)
R1H (high-order of R1)
R1L (high-order of R1)
R
2
b
3
1
R
3
R2
A
1
A
0
F
B
b
1
9
I
N
T
B
L
b
1
5
b
0
P
C
b
1
9
b
0
b15 b0
FLG
b15 b0
b15 b0 b7 b8
Reserved bit
Carry flag
Debug flag
Zero flag
Sign flag
Register bank select flag
Overflow flag
Interrupt enable flag
Stack pointer select flag
Reserved bit
Processor interrupt priority level
The 4-high order bits of INTB are INTBH and
the 16-low bits of INTB are INTBL.
Figure 2.1 CPU Register

R5F21104FP#U0

Mfr. #:
Manufacturer:
Renesas Electronics
Description:
16-bit Microcontrollers - MCU MCU 3/5V 16K Pb-Free 32-LQFP
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union

Products related to this Datasheet