English
Language : 

H8S2268_09 Datasheet, PDF (226/712 Pages) Renesas Technology Corp – Renesas 16-Bit Single-Chip Microcomputer H8S Family/H8S/2200 Series
Section 9 I/O Ports
9.9.1 Port K Data Direction Register (PKDDR)
PKDDR specifies input or output the port K pins using the individual bits. PKDDR cannot be
read; if it is, an undefined value will be read.
The value of this register when read is undefined after a bit manipulation instruction is executed.
To prevent undefined read values, do not use bit manipulation instructions to write to this register.
For details, see section 2.9.4, Access Methods for Registers with Write-Only Bits.
Initial
Bit
Bit Name Value R/W Description
7
PK7DDR 0
6
PK6DDR 0
5
PK5DDR 0
4
PK4DDR 0
W
When a pin is specified as a general purpose I/O port,
W
setting this bit to 1 makes the corresponding port K pin an
output port. Clearing this bit to 0 makes the pin an input
W
port.
W
3
PK3DDR 0
W
2
PK2DDR 0
W
1
PK1DDR 0
W
0
PK0DDR 0
W
9.9.2 Port K Data Register (PKDR)
PKDR stores output data for port K pins.
Bit
Bit Name Initial R/W Description
Value
7
PK7DR 0
6
PK6DR 0
R/W Output data for a pin is stored when the pin is specified
R/W as a general purpose output port.
5
PK5DR 0
R/W
4
PK4DR 0
R/W
3
PK3DR 0
R/W
2
PK2DR 0
R/W
1
PK1DR 0
R/W
0
PK0DR 0
R/W
Rev. 5.00 Sep. 01, 2009 Page 174 of 656
REJ09B0071-0500