Port 3 Open-Drain Control Register (P3Odr); Pin Functions; Table 9.10 P37 Pin Function - Hitachi H8S/2628 Hardware Manual

H8s/2628 series 16-bit single-chip microcomputer
Table of Contents

Advertisement

Bit
Bit Name
Initial Value
7
P37
Undefined*
6
P36
Undefined*
5
P35
Undefined*
4
P34
Undefined*
3
P33
Undefined*
2
P32
Undefined*
1
P31
Undefined*
0
P30
Undefined*
Note:* Determined by the states of pins P37 to P30.
9.2.4

Port 3 Open-Drain Control Register (P3ODR)

P3ODR is an 8-bit readable/writable register that specifies the output type of port 3.
Bit
Bit Name
Initial Value
7
P37ODR
0
6
P36ODR
0
5
P35ODR
0
4
P34ODR
0
3
P33ODR
0
2
P32ODR
0
1
P31ODR
0
0
P30ODR
0
Note:* Determined by the states of pins P47 to P40.
9.2.5

Pin Functions

Port 3 pins also function as SCI_0 I/O pins and interrupt input pins. The correspondence between
the register specification and the pin functions is shown below.

Table 9.10 P37 Pin Function

P37DDR
Pin function
R/W
Description
R
If a port 3 read is performed while P3DDR bits are
set to 1, the P3DR values are read. If a port 3 read is
R
performed while P3DDR bits are cleared to 0, the pin
R
states are read.
R
R
R
R
R
R/W
Description
R/W
When a pin is specified as an output port, setting the
corresponding bit to 1 specifies pin output to open-
R/W
drain and the input pull-up MOS to the off state.
R/W
Clearing this bit to 0 specifies that to push-pull
output.
R/W
R/W
R/W
R/W
R/W
0
P37 input
1
P37 output
Rev. 1.0, 09/02, page 131 of 568

Advertisement

Table of Contents
loading

This manual is also suitable for:

Hd64f2628Hd6432628H8s/2627Hd6432627

Table of Contents