English
Language : 

HD64F3644PV Datasheet, PDF (213/551 Pages) Renesas Technology Corp – Old Company Name in Catalogs and Other Documents
Section 8 I/O Ports
PDR6 is an 8-bit register that stores data for port 6 pins P67 to P60.
When a bit in PCR6 is set to 1, if port 6 is read the value of the corresponding PDR6 bit is
returned directly regardless of the pin state. When a bit in PCR6 is cleared to 0, if port 6 is read the
corresponding pin state is read.
Upon reset, PDR6 is initialized to H'00.
Port Control Register 6 (PCR6)
Bit
Initial value
Read/Write
7
PCR67
0
W
6
PCR66
0
W
5
PCR65
0
W
4
PCR64
0
W
3
PCR63
0
W
2
PCR62
0
W
1
PCR61
0
W
0
PCR60
0
W
PCR6 is an 8-bit register for controlling whether each of the port 6 pins P67 to P60 functions as an
input pin or output pin.
When a bit in PCR6 is set to 1, the corresponding pin of P67 to P60 becomes an output pin.
Upon reset, PCR6 is initialized to H'00.
PCR6 is a write-only register, which always reads all 1s.
8.6.3 Pin Functions
Table 8.15 shows the port 6 pin functions.
Table 8.15 Port 6 Pin Functions
Pin
P67 to P60
Pin Functions and Selection Method
The pin function depends on bit PCR6n in PCR6
PCR6n
Pin function
0
P6n input pin
(n = 7 to 0)
1
P6n output pin
Rev. 6.00 Sep 12, 2006 page 191 of 526
REJ09B0326-0600