R5F21162SP#U0 Renesas Electronics America, R5F21162SP#U0 Datasheet - Page 197
R5F21162SP#U0
Manufacturer Part Number
R5F21162SP#U0
Description
IC R8C MCU FLASH 8K 20SSOP
Manufacturer
Renesas Electronics America
Series
M16C™ M16C/R8C/Tiny/16r
Datasheets
1.R5F211A2SPU0.pdf
(300 pages)
2.R5F21173DSPU0.pdf
(40 pages)
3.R5F21173DSPU0.pdf
(281 pages)
Specifications of R5F21162SP#U0
Core Processor
R8C
Core Size
16-Bit
Speed
20MHz
Connectivity
I²C, SIO, UART/USART
Peripherals
LED, POR, Voltage Detect, WDT
Number Of I /o
13
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 4x10b
Oscillator Type
Internal
Operating Temperature
-20°C ~ 85°C
Package / Case
20-SSOP
For Use With
R0K521134S000BE - KIT EVAL STARTER FOR R8C/13
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Eeprom Size
-
- Current page: 197 of 281
- Download datasheet (4Mb)
R8C/16 Group, R8C/17 Group
Rev.2.10
REJ09B0169-0210
17. Programmable I/O Ports
Programmable Input/Output ports (hereafter referred to as “I/O ports”) have 13 ports of the P1, P3_3 to
P3_5, P3_7, and P4_5. Also, the main clock oscillation circuit is not used, the P4_6 and P4_7 can be used
as the input port only. Table 17.1 lists the Overview of Programmable I/O Ports.
17.1
17.2
17.3
Table 17.1
NOTES:
Table 17.2
NOTES:
Table 17.3
P1
P3_3, P4_5
P3_4, P3_5, P3_7 I/O
P4_6, P4_7
Reading
Writing
I/O of Peripheral Functions
Input
Output
Operation When
The PDi_j (j=0 to 7) bit in the PDi (i=1,3 and 4) register controls I/O of the ports P1, P3_3 to P3_5, P3_7
and P4_5. The Pi register consists of a port latch to hold output data and a circuit to read pin state.
Figures 17.1 to 17.3 show the Configurations of Programmable I/O Ports.
Table 17.2 lists the Functions of Programmable I/O Ports. Also, Figure 17.5 shows the PD1, PD3 and
PD4 Registers. Figure 17.6 shows the P1, P3 and P4 Registers, Figure 17.7 shows the PUR0 and PUR1
Registers and Figure 17.8 shows the DRR Register.
Programmable I/O ports function as I/O of peripheral functions (Refer to Table 1.6 Pin Name Information
by Pin Number). Table 17.3 lists the Setting of PDi_j Bit When Functioning as I/O of Peripheral
Functions. Refer to descriptions of each function for how to set peripheral functions.
Figure 17.4 shows the Configuration of I/O Pins.
1. In input mode, whether the internal pull-up resistor is connected or not can be selected by the PUR0
2. This port can be used as the LED drive port by setting the DRR register to “1” (High).
3. When the main clock oscillation circuit is not used, these ports can be used as the input port only.
1. Nothing is assigned to the PD3_0 to PD3_2, PD3_6, PD4_0 to PD4_4, PD4_6 and PD4_7 bits.
Pi Register
Accessing
and PUR1 registers.
Ports
Functions of Programmable I/O Ports
Effect on Peripheral Functions
Pins Other than Programmable I/O Ports
Jan 19, 2006
(3)
Overview of Programmable I/O Ports
Functions of Programmable I/O Ports
Setting of PDi_j Bit When Functioning as I/O of Peripheral Functions
Read pin input level
Write to the port latch
When PDi_j bit is set to “0” (input mode) When PDi_j bit is set to “1” (output mode)
I/O
I/O
I
I/O
Page 182 of 254
CMOS3 State
CMOS3 State
CMOS3 State
(Without output function) None
Set this bit to “0” (input mode).
This bit can be set to both “0” and “1” (output regardless of the port setting)
Output Form
Value of PDi_j Bit in PDi Register
PDi_j Bit Setting of Port shared with Pin
Set every bit Set every 4 bits
Set every bit Set every bit
Set every bit Set every 3 bits
I/O Setting
Read the port latch
Write to the port latch. The value written in
the port latch, it is output from the pin.
None
Internal Pull-Up
Resistor
(1)
17. Programmable I/O Ports
(1)
(1)
(1)
Set every bit
P1_0 to P1_3
None
None
None
Drive Capacity
Selection
(2)
of
Related parts for R5F21162SP#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: