English
Language : 

HD64F3642AHV Datasheet, PDF (200/551 Pages) Renesas Technology Corp – Old Company Name in Catalogs and Other Documents
Section 8 I/O Ports
Port Control Register 2 (PCR2)
Bit
Initial value
Read/Write
7
6
5
4
3
2
1
0





PCR22 PCR21 PCR20
0
0
0
0
0
0
0
0





W
W
W
PCR2 is an 8-bit register for controlling whether each of the port 1 pins P22 to P20 functions as an
input pin or output pin. Setting a PCR2 bit to 1 makes the corresponding pin an output pin, while
clearing the bit to 0 makes the pin an input pin. The settings in PCR2 and PDR2 are valid only
when the corresponding pin is designated in SCR3 as a general I/O pin.
Upon reset, PCR2 is initialized to H'00.
PCR2 is a write-only register, which is always read as all 1s.
Rev. 6.00 Sep 12, 2006 page 178 of 526
REJ09B0326-0600