r5f21346mnfp Renesas Electronics Corporation., r5f21346mnfp Datasheet - Page 88

no-image

r5f21346mnfp

Manufacturer Part Number
r5f21346mnfp
Description
Single-chip Mcus Incorporates The R8c Cpu Core
Manufacturer
Renesas Electronics Corporation.
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
r5f21346mnfp#V0
Manufacturer:
Renesas Electronics America
Quantity:
10 000
R8C/34M Group
R01UH0131EJ0100 Rev.1.00
Jun 21, 2011
7.
There are 43 I/O ports P0 to P2, P3_0 and P3_1, P3_3 to P3_5, P3_7, P4_3 to P4_7, P6, and P6 (P4_3 and P4_4 can be
used as I/O ports if the XCIN clock oscillation circuit is not used. P4_6 and P4_7 can be used as I/O ports if the XIN
clock oscillation circuit is not used.).
If the A/D converter and the D/A converter are not used, P4_2 can be used as an input-only port.
Table 7.1 lists an Overview of I/O Ports.
7.1
Table 7.1
Notes:
Table 7.2
i = 0 to 4 or 6, j = 0 to 7
Note:
P0, P6
P1, P2
P3_0 and
P3_1, P3_3 to
P3_5, P3_7
P4_3
P4_4
P4_6
P4_7
P4_2
Read
Write
When Accessing
The PDi_j (j = 0 to 7) bit in the PDi (i = 0 to 4 or 6) register controls I/O of the ports P0 to P2, P3_0 and P3_1, P3_3
to P3_5, P3_7, P4_3 to P4_7, and P6. The Pi register consists of a port latch to hold output data and a circuit to read
pin states.
Figures 7.1 to 7.15 show the Configurations of I/O Ports. Table 7.2 lists the Functions of I/O Ports.
I/O Ports
1. In input mode, whether an internal pull-up resistor is connected or not can be selected by registers PUR0 and
2. Whether the drive capacity of the output transistor is set to low or high can be selected using registers P1DRR
3. Whether the drive capacity of the output transistor is set to low or high can be selected using registers DRR0
4. The input threshold value can be selected among three voltage levels (0.35 VCC, 0.50 VCC, and 0.70 VCC)
5. When the XCIN clock oscillation circuit is not used, these ports can be used as an I/O ports.
6. When the XIN clock oscillation circuit is not used, these ports can be used as I/O ports.
7. When the A/D converter and the D/A converter are not used, this port can be used as an input-only ports.
1. Nothing is assigned to bits PD4_0 to PD4_2. Also, bits PD3_2 and PD3_6 are reserved bits.
Pi Register
Operation
Ports
(5)
(5)
(7)
(6)
(6)
PUR1.
and P2DRR.
and DRR1.
using registers VLT0 and VLT1.
Functions of I/O Ports
, P4_5,
,
Functions of I/O Ports
Overview of I/O Ports
I/O Type of Output
I/O CMOS3 state
I/O CMOS3 state
I/O CMOS3 state
I/O CMOS3 state
I/O CMOS3 state
I
Read the pin input level.
Write to the port latch.
When PDi_j Bit is Set to 0 (Input Mode)
(No output
function)
Set in 1-bit units Set in 4-bit units
Set in 1-bit units Set in 4-bit units
Set in 1-bit units Set in 3-bit units
Set in 1-bit units Set in 1-bit units
Set in 1-bit units Set in 4-bit units
None
I/O Setting
Value of PDi_j Bit in PDi Register
None
Internal Pull-Up
Resister
Read the port latch.
Write to the port latch. The value written to
the port latch is output from the pin.
When PDi_j Bit is Set to 1 (Output Mode)
(1)
(1)
(1)
(1)
(1)
Set in 4-bit units
Set in 1-bit units
Set in 3-bit units
Set in 1-bit units
Set in 4-bit units
None
Drive Capacity
Switch
(1)
(3)
(2)
(3)
(3)
(3)
Set in 8-bit units
Set in 8-bit units
Set in 6-bit units
Input Level Switch
Page 56 of 740
7. I/O Ports
(4)
(4)
(4)

Related parts for r5f21346mnfp