R5F21102DFP#U0 Renesas Electronics America, R5F21102DFP#U0 Datasheet - Page 127
R5F21102DFP#U0
Manufacturer Part Number
R5F21102DFP#U0
Description
IC R8C MCU FLASH 8K 32LQFP
Manufacturer
Renesas Electronics America
Series
M16C™ M16C/R8C/Tiny/10r
Datasheets
1.R5F211A2SPU0.pdf
(300 pages)
2.R5F21102FPU0.pdf
(30 pages)
3.R5F21102FPU0.pdf
(201 pages)
Specifications of R5F21102DFP#U0
Core Processor
R8C
Core Size
16-Bit
Speed
16MHz
Connectivity
SIO, UART/USART
Peripherals
LED, WDT
Number Of I /o
22
Program Memory Size
8KB (8K x 8)
Program Memory Type
FLASH
Ram Size
512 x 8
Voltage - Supply (vcc/vdd)
2.7 V ~ 5.5 V
Data Converters
A/D 8x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Package / Case
32-LQFP
For Use With
R0K521134S000BE - KIT EVAL STARTER FOR R8C/13R0E521134EPB00 - KIT EMULATOR PROBE FOR PC7501R0E521134CPE00 - EMULATOR COMPACT R8C/13
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Eeprom Size
-
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
- Current page: 127 of 201
- Download datasheet (2Mb)
R8C/10 Group
Rev.1.20 Jan 27, 2006
REJ09B0019-0120
15. Programmable I/O Ports
15. 1 Description
The programmable input/output ports (hereafter referred to as “I/O ports”) consist of 22 lines P0, P1, P3
to P3
can also be chosen to be or not be pulled high every 4 lines. The port P1 allows the drive capacity of its N-
channel output transistor to be set as necessary. The port P1 can be used as LED drive port if the drive
capacity is set to “HIGH”.
P4
Figures 15.1 to 15.4 show the I/O ports. Figure 15.5 shows the I/O pins.
Each pin functions as an I/O port or a peripheral function input/output.
For details on how to set peripheral functions, refer to each functional description in this manual. If any pin
is used as a peripheral function input, set the direction bit for that pin to “0” (input mode). Any pin used as
an output pin for peripheral functions is directed for output no matter how the corresponding direction bit
is set.
15.1.1 Port Pi Direction Register (PDi Register, i = 0, 1, 3, 4)
15.1.2 Port Pi Register (Pi Register, i = 0 to 4)
15.1.3 Pull-up Control Register 0, Pull-up Control Register 1 (PUR0 and PUR1 Registers)
15.1.4 Port P1 Drive Capacity Control Register (DRR Register)
6
Figure 15.6 shows the PDi register.
This register selects whether the I/O port is to be used for input or output. The bits in this register
correspond one for one to each port.
Figure 15.7 shows the Pi register.
Data I/O to and from external devices are accomplished by reading and writing to the Pi register. The
Pi register consists of a port latch to hold the output data and a circuit to read the pin status. For ports
set for input mode, the input level of the pin can be read by reading the corresponding Pi register, and
data can be written to the port latch by writing to the Pi register.
For ports set for output mode, the port latch can be read by reading the corresponding Pi register, and
data can be written to the port latch by writing to the Pi register. The data written to the port latch is
output from the pin. The bits in the Pi register correspond one for one to each port.
Figure 15.8 shows the PUR0 and PUR1 registers.
The PUR0 and PUR1 register bits can be used to select whether or not to pull the corresponding port
high in 4 bit units. The port chosen to be pulled high has a pull-up resistor connected to it when the
direction bit is set for input mode.
Figure 15.8 shows the DRR register.
The DRR register is used to control the drive capacity of the port P1 N-channel output transistor. The
bits in this register correspond one for one to each port.
and P4
3
, P3
7
, and P4
7
can be used as an input only port if the main clock oscillation circuit is not used.
page 115 of 180
5
. Each port can be set for input or output every line by using a direction register, and
15. Programmable I/O Ports
0
Related parts for R5F21102DFP#U0
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
Part Number:
Description:
KIT STARTER FOR M16C/29
Manufacturer:
Renesas Electronics America
Datasheet:
Part Number:
Description:
KIT STARTER FOR R8C/2D
Manufacturer:
Renesas Electronics America
Datasheet:
Part Number:
Description:
R0K33062P STARTER KIT
Manufacturer:
Renesas Electronics America
Datasheet:
Part Number:
Description:
KIT STARTER FOR R8C/23 E8A
Manufacturer:
Renesas Electronics America
Datasheet:
Part Number:
Description:
KIT STARTER FOR R8C/25
Manufacturer:
Renesas Electronics America
Datasheet:
Part Number:
Description:
KIT STARTER H8S2456 SHARPE DSPLY
Manufacturer:
Renesas Electronics America
Datasheet:
Part Number:
Description:
KIT STARTER FOR R8C38C
Manufacturer:
Renesas Electronics America
Datasheet:
Part Number:
Description:
KIT STARTER FOR R8C35C
Manufacturer:
Renesas Electronics America
Datasheet:
Part Number:
Description:
KIT STARTER FOR R8CL3AC+LCD APPS
Manufacturer:
Renesas Electronics America
Datasheet:
Part Number:
Description:
KIT STARTER FOR RX610
Manufacturer:
Renesas Electronics America
Datasheet:
Part Number:
Description:
KIT STARTER FOR R32C/118
Manufacturer:
Renesas Electronics America
Datasheet:
Part Number:
Description:
KIT DEV RSK-R8C/26-29
Manufacturer:
Renesas Electronics America
Datasheet:
Part Number:
Description:
KIT STARTER FOR SH7124
Manufacturer:
Renesas Electronics America
Datasheet:
Part Number:
Description:
KIT STARTER FOR H8SX/1622
Manufacturer:
Renesas Electronics America
Datasheet:
Part Number:
Description:
KIT DEV FOR SH7203
Manufacturer:
Renesas Electronics America
Datasheet: