English
Language : 

HD64F36024FX Datasheet, PDF (128/386 Pages) Renesas Technology Corp – Old Company Name in Catalogs and Other Documents
Section 9 I/O Ports
• P10 pin
Register
Bit Name
Setting value
PCR1
PCR10
0
1
Pin Function
P10 input pin
P10 output pin
9.2 Port 2
Port 2 is a general I/O port also functioning as a SCI3 I/O pin. Each pin of the port 2 is shown in
figure 9.2. The register settings of PMR1 and SCI3 have priority for functions of the pins for both
uses.
Port 2
P22/TXD
P21/RXD
P20/SCK3
Figure 9.2 Port 2 Pin Configuration
Port 2 has the following registers.
• Port control register 2 (PCR2)
• Port data register 2 (PDR2)
9.2.1 Port Control Register 2 (PCR2)
PCR2 selects inputs/outputs in bit units for pins to be used as general I/O ports of port 2.
Initial
Bit
Bit Name Value R/W Description
7 to 3 


Reserved
2
PCR22 0
1
PCR21 0
0
PCR20 0
W
When each of the port 2 pins P22 to P20 functions as an
W
general I/O port, setting a PCR2 bit to 1 makes the
corresponding pin an output port, while clearing the bit to
W
0 makes the pin an input port.
Rev. 4.00 Sep. 23, 2005 Page 100 of 354
REJ09B0025-0400