![](http://datasheet.mmic.net.cn/330000/MB90F562_datasheet_16437954/MB90F562_218.png)
194
CHAPTER 8 I/O PORTS
MB90560 series
8.6
Port 3
Port 3 is a general-purpose I/O port. It can also be used for peripheral function input
and output. The port pins can be switched in units of bits between the I/O port and
peripheral function. This section focuses on the general I/O port function. It provides
the configuration of port 3, lists its pins, shows a block diagram of the pins, and
describes the corresponding registers.
I
Port 3 Configuration
Port 3 consists of the following:
General-purpose I/O pins/peripheral function I/O pins (P30/PPG0 to P37/SOT0)
Port 3 data register (PDR3)
Port 3 data direction register (DDR3)
I
Port 3 Pins
The port 3 I/O pins are also used as peripheral function I/O pins. Therefore, the pins cannot be
used as general-purpose I/O port pins when they are used as peripheral function I/O pins. Table
8.6-1 lists the port 3 pins.
Table 8.6-1 Port 3 pins
See Section 1.7, "I/O Circuit Types," for information on the circuit types.
Port
Pin
Port function
(single-chip
mode)
Peripheral function
I/O form
Circuit
type
Input
Output
Port 3
P30/RTO0
P30
General-
purpose I/O
RTO0
OCU channel 0 output
CMOS
(hysteresis)
CMOS
D
P31/RTO1
P31
RTO1
OCU channel 1 output
P32/RTO2
P32
RTO2
OCU channel 2 output
P33/RTO3
P33
RTO3
OCU channel 3 output
P34/RTO4
P34
RTO4
OCU channel 4 output
P35/RTO5
P35
RTO5
OCU channel 5 output
P36/SIN0
P36
SIN0
UART0 data input
P37/SOT0
P37
SOT0
UART0 data output