HD6433640 HITACHI [Hitachi Semiconductor], HD6433640 Datasheet - Page 201

no-image

HD6433640

Manufacturer Part Number
HD6433640
Description
H8/3644 Series Hardware Manual
Manufacturer
HITACHI [Hitachi Semiconductor]
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
HD6433640RA78H
Manufacturer:
HITACHI/日立
Quantity:
20 000
Part Number:
HD6433640RB90H
Manufacturer:
RENESAS/瑞萨
Quantity:
20 000
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)
PCR6 is an 8-bit register for controlling whether each of the port 6 pins P6
input pin or output pin.
When a bit in PCR6 is set to 1, the corresponding pin of P6 7 to P6 0 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
Table 8.15 shows the port 6 pin functions.
Table 8.15 Port 6 Pin Functions
Pin
P6
Bit
Initial value
Read/Write
7
to P6
0
Pin Functions
Pin Functions and Selection Method
The pin function depends on bit PCR6
PCR6
Pin function
PCR6
W
7
0
n
7
PCR6
W
6
0
6
PCR6
W
5
0
5
P6
n
PCR6
input pin
0
W
4
0
4
n
in PCR6
PCR6
W
3
0
3
PCR6
W
2
0
7
2
P6
to P6
n
output pin
PCR6
0
W
1
functions as an
1
0
1
(n = 7 to 0)
PCR6
W
0
0
193
0

Related parts for HD6433640