HD6413308 Hitachi Semiconductor, HD6413308 Datasheet - Page 107

no-image

HD6413308

Manufacturer Part Number
HD6413308
Description
Hitachi Single-Chip MicroComputer
Manufacturer
Hitachi Semiconductor
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
HD6413308CP10
Manufacturer:
RENESAS
Quantity:
776
Part Number:
HD6413308CP10
Manufacturer:
HITACAI
Quantity:
20 000
Part Number:
HD6413308CP10V
Manufacturer:
RENESAS
Quantity:
776
Part Number:
HD6413308RCP10
Manufacturer:
HITACHI/日立
Quantity:
20 000
Part Number:
HD6413308RF8
Manufacturer:
NEC
Quantity:
2 468
Part Number:
HD6413308RF8
Manufacturer:
HITACHI/日立
Quantity:
20 000
See section 9, “Serial Communication Interface” for details of the serial control bits. Pins used by
the serial communication interface are switched between input and output without regard to the
values in the data direction register.
Pins of port 5 can drive a single TTL load and a 30pF capacitive load when they are used as output
pins. They can also drive a Darlington pair. When used as input pins, they have programmable
MOS pull-ups.
Table 5-11 details the port 5 registers.
Table 5-11. Port 5 Registers
Name
Port 5 data direction register
Port 5 data register
Port 5 Data Direction Register (P5DDR)—H’FFB8
Bit
Initial value
Read/Write
P5DDR is an 8-bit register that selects the direction of each pin in port 5. A pin functions as an
output pin if the corresponding bit in P5DDR is set to “1,” and as an input pin if the bit is cleared to
“0.”
Port 5 Data Register (P5DR)—H’FFBA
Bit
Initial value
Read/Write
P5DR is an 8-bit register containing the data for pins P5
output pins (P5DDR = "1") it reads the value in the P5DR latch, but for input pins (P5DDR = "0"),
it obtains the logic level directly from the pin, bypassing the P5DR latch. This also applies to pins
7
1
7
1
6
1
6
1
Abbreviation
P5DDR
P5DR
5
1
5
1
92
4
1
4
1
Read/Write
W
R/W
2
to P5
3
1
3
1
0
. When the CPU reads P5DR, for
P5
Initial value
H’F8
H’F8
R/W
2
P5
W
DDR P5
2
0
2
0
2
R/W
1
P5
W
DDR P5
1
0
1
0
1
Address
H’FFB8
H’FFBA
R/W
0
P5
W
DDR
0
0
0
0
0

Related parts for HD6413308