h8s-2172 Renesas Electronics Corporation., h8s-2172 Datasheet - Page 259

no-image

h8s-2172

Manufacturer Part Number
h8s-2172
Description
Renesas 16-bit Single-chip Microcomputer H8s Family H8s-2100 Series
Manufacturer
Renesas Electronics Corporation.
Datasheet
8.2.3
PORT2 shows the pin states of the port 2. PORT2 cannot be modified.
Note:
8.2.4
Port 2 pins also function as the pins for DMAC I/O and USB I/O. The correspondence between the
register specification and the pin functions is shown below.
• P27/USD7/DRAK1
• P26/USD6/DACK1
Bit
7
6
5
4
3
2
1
0
USBCKSTP
DRAKE
P27DDR
Pin function
USBCKSTP
EXPE
AMS
P26DDR
Pin function
The pin function is switched as shown below according to the combination of the P27DDR bit,
the DRAKE bit in DMMDR_1, and the USBCKSTP bit in MSTPCRL.
The pin function is switched as shown below according to the combination of the P26DDR bit,
the AMS bit in DMMDR_1, the EXPE bit in MDCR, and the USBCKSTP bit in MSTPCRL.
Bit Name
P27
P26
P25
P24
P23
P22
P21
P20
*
Port 2 Register (PORT2)
Pin Functions
Determined by the states of pins P27 to P20.
P26 input
Initial
Value
*
*
*
*
*
*
*
*
P27 input
0
0
0
P26 output
R/W
R
R
R
R
R
R
R
R
1
0
P27 output
Description
If a PORT2 read is performed while P2DDR bits are set
to 1, the P2DR values are read. If a PORT2 read is
performed while P2DDR bits are cleared to 0, the pin
states are read.
P26 input
1
1
0
1
0
P26 output
DRAK1 output
1
1
Rev. 2.00, 03/04, page 227 of 534
1
DACK1
output
1
USD7 I/O
USD6 I/O
0
0

Related parts for h8s-2172