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

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.3.3
PORT3 shows the pin states of the port 3. PORT3 cannot be modified.
Note:
8.3.4
Port 3 pins also function as the pins for USB I/O and interrupt input. The correspondence between
the register specification and the pin functions is shown below.
• P37/USOPM1
• P36/USOPM0
Bit
7
6
5
4
3
2
1
0
USBCKSTP
P37DDR
Pin function
USBCKSTP
P36DDR
Pin function
The pin function is switched as shown below according to the combination of the P37DDR bit
and the USBCKSTP bit in MSTPCRL.
The pin function is switched as shown below according to the combination of the P36DDR bit
and the USBCKSTP bit in MSTPCRL.
Bit Name
P37
P36
P35
P34
P33
P32
P31
P30
*
Port 3 Register (PORT3)
Pin Functions
Determined by the states of pins P37 to P30.
Initial
Value
*
*
*
*
*
*
*
*
P37 input
P36 input
R/W
R
R
R
R
R
R
R
R
0
0
Description
If a PORT3 read is performed while P3DDR bits are
set to 1, the P3DR values are read. If a PORT3 read
is performed while P3DDR bits are cleared to 0, the
pin states are read.
1
1
P37 output
P36 output
1
1
Rev. 2.00, 03/04, page 231 of 534
USOPM1 output
USOPM0 output
0
0

Related parts for h8s-2172