English
Language : 

HD6473847RHV Datasheet, PDF (225/546 Pages) Renesas Technology Corp – Renesas 8-Bit Single-Chip Microcomputer H8 Family / H8/300L Super Low Power Series
Section 8 I/O Ports
8.3.1 Port Data Register 5 (PDR5)
PDR5 is a register that stores data of port 5.
Initial
Bit
Bit Name Value R/W Description
7
P57
0
6
P56
0
5
P55
0
4
P54
0
R/W If port 5 is read while PCR5 bits are set to 1, the values
R/W stored in PDR5 are read, regardless of the actual pin
states. If port 5 is read while PCR5 bits are cleared to 0,
R/W the pin states are read.
R/W
3
P53
0
R/W
2
P52
0
R/W
1
P51
0
R/W
0
P50
0
R/W
8.3.2 Port Control Register 5 (PCR5)
PCR5 controls whether each of the port 5 pins functions as an input pin or output pin.
Initial
Bit
Bit Name Value R/W Description
7
PCR57 0
6
PCR56 0
5
PCR55 0
4
PCR54 0
3
PCR53 0
2
PCR52 0
W
Setting a PCR5 bit to 1 makes the corresponding pin an
W
output pin, while clearing the bit to 0 makes the pin an
input pin. The settings in PCR5 and in PDR5 are valid
W
only when the corresponding pin is designated by PMR5
W
and the SGS3 to SGS0 bits in LPCR as a general I/O pin.
W
PCR5 is a write-only register. Bits 7 to 0 are always read
W
as 1.
1
PCR51 0
W
0
PCR50 0
W
Rev. 7.00 Mar. 08, 2010 Page 193 of 510
REJ09B0024-0700