h8s-2138 Renesas Electronics Corporation., h8s-2138 Datasheet - Page 276

no-image

h8s-2138

Manufacturer Part Number
h8s-2138
Description
Renesas 16-bit Single-chip Microcomputer H8s Family/h8s/2100 Series
Manufacturer
Renesas Electronics Corporation.
Datasheet
Section 8 I/O Ports
8.7.2
Table 8.13 shows the port 6 register configuration.
Table 8.13 Port 6 Registers
Name
Port 6 data direction register
Port 6 data register
Port 6 MOS pull-up control register
System control register 2
Notes: 1. Lower 16 bits of the address.
Port 6 Data Direction Register (P6DDR)
P6DDR is an 8-bit write-only register, the individual bits of which specify input or output for the
pins of port 6. P6DDR cannot be read; if it is, an undefined value will be returned.
Setting a P6DDR bit to 1 makes the corresponding port 6 pin an output pin, while clearing the bit
to 0 makes the pin an input pin.
P6DDR is initialized to H'00 by a reset and in hardware standby mode. It retains its prior state in
software standby mode.
Rev. 4.00 Jun 06, 2006 page 222 of 1004
REJ09B0301-0400
Bit
Initial value
Read/Write
2. KMPCR has the same address as TICRR/TCORAY of TMRX/TMRY. To select
Register Configuration
KMPCR, set the HIF bit to 1 in SYSCR and clear the MSTP2 bit to 0 in MSTPCRL.
P67DDR
W
7
0
P66DDR
W
6
0
P65DDR
Abbreviation R/W
P6DDR
P6DR
KMPCR
SYSCR2
W
5
0
P64DDR
W
4
0
R/W
W
R/W
R/W
P63DDR
W
3
0
P62DDR
Initial Value
H'00
H'00
H'00
H'00
W
2
0
P61DDR
W
1
0
H'FFB9
H'FFBB
H'FFF2 *
Address *
H'FF83
P60DDR
W
0
0
2
1

Related parts for h8s-2138