h8s-2646 Renesas Electronics Corporation., h8s-2646 Datasheet - Page 324

no-image

h8s-2646

Manufacturer Part Number
h8s-2646
Description
Renesas 16-bit Single-chip Microcomputer H8s Family/h8s/2600 Series
Manufacturer
Renesas Electronics Corporation.
Datasheet
Section 9 I/O Ports
Port K Data Direction Register (PKDDR)
PKDDR is an 8-bit write-only register that specifies whether individual bits are input or output for
each of the pins in port K. It is not possible to read it. An undefined value is returned if an attempt
is made to read it.
PKDDR is initialized to H'00 if a reset occurs and in the hardware standby mode. The previous
values are retained by PKDDR in the software standby mode.
Port K Data Register (PKDR)
PKDR is an 8-bit readable/writable register that stores output data for the port K pins (PK7, PK6).
PKDR is initialized to H'00 if a reset occurs and in the hardware standby mode. The previous
values are retained in the software standby mode.
Port K Register (PORTK)
Note: * Determined by state of pins PF7 to PF6.
PORTK is an 8-bit read-only register that reflects the states of the pins. It is not possible to write
to it. Always write output data from the port K pins (PK7, PK6) to PKDR.
If PKDDR is set to 1, the value of PKDR is returned when port K is read. If PKDDR is cleared to
0, the pin states are returned when port K is read.
Rev. 5.00 Sep 22, 2005 page 298 of 1136
REJ09B0257-0500
Bit
Initial value :
R/W
Bit
Initial value :
R/W
Bit
Initial value :
R/W
:
:
:
:
:
:
PK7DDR PK6DDR
PK7DR
R/W
PK7
— *
W
R
7
0
7
0
7
PK6DR
R/W
PK6
— *
W
R
6
0
6
0
6
Undefined Undefined Undefined Undefined Undefined Undefined
Undefined Undefined Undefined Undefined Undefined Undefined
Undefined Undefined Undefined Undefined Undefined Undefined
5
5
5
4
4
4
3
3
3
2
2
2
1
1
1
0
0
0

Related parts for h8s-2646