![](http://datasheet.mmic.net.cn/30000/M37531E4V-XXXGP_datasheet_2359826/M37531E4V-XXXGP_185.png)
8
8-4
INPUT/OUTPUT PORTS AND PIN FUNCTIONS
32182 Group User’s Manual (Rev.1.0)
8.2 Selecting Pin Functions
Figure 8.2.1 Input/Output Ports and Pin Function Assignments
0
1
2
3
4
5
6
7
P0
P1
P2
P3
P4
P5
P6
P7
P8
P9
P10
P11
P12
P13
P14
P15
P16
P17
P18
P19
P20
P21
P22
Input/output
port operation
mode setting
(Reserved)
CPU operation
mode settings
(Note 1)
DB0
DB1
DB2
DB3
DB4
DB5
DB6
DB7
DB8
DB9
DB10
DB11
DB12
DB13
DB14
DB15
A23
A24
A25
A26
A27
A28
A29
A30
A15
A16
A17
A18
A19
A20
A21
A22
TO16
TO17
TO18
TO19
TO20
TO9 /
TO10 /
TO8
TO11
TO12
TO13
TO14
TO15
TXD3(Note 2) CTX1(Note 2)
A11 /
A12 /
CTX0
CRX0
CTX1
CRX1
CS2#
CS3#
CS2#(Note 2)CS3#(Note 2)
TO0
TO1
TO2
TO3
TO4
TO5
TO6
TO7
TCLK0
TCLK1
TCLK2
TCLK3
TIN0
TIN1
TIN2
TIN3
TIN4
TIN5
TIN6
TIN7
TO21
TO22
TO23
TO24
TO25
TO26
TO27
TO28
TO29
TO30
TO31
TO32
TO33
TO34
TO35
TO36
TIN33/
TIN26
TIN27
TIN28
TIN29
TIN30
TIN31
TIN32
PWMOFF2
TXD4
RXD4
TXD5
RXD5
TO37
TO38
TO39
TO40
TO41
TO42
TO43
TO44
TIN8
TIN9
TIN10
TIN11
TIN12
TIN13
TIN14
TIN15
TIN24
TIN25
TXD2
RXD2
TXD3
RXD3
MOD0
MOD1
SCLKI0 /
SCLKI1 /
TXD0
RXD0
TXD1
RXD1
(Note 3)
SCLKO0
SCLKO1
BLW# /
BHW# /
RD#
CS0#
CS1#
A13
A14
BLE#
BHE#
BCLK /
WAIT#
HREQ#
HACK#
RTDTXD RTDRXD
RTDACK
RTDCLK
WR#
SBI#
SCLKI4 /
SCLKI5 /
(P61)
(P62)
(P63)
(P67)
(Note 3)
SCLKO4
SCLKO5
TIN21 /
TIN22 /
TIN16
TIN17
TIN18
TIN19
TIN20
TIN23
RXD3
CRX1
Note 1: During processor mode, these ports are switched to function as extended external signal pins. During external extension
mode, only P41-P43 are switched to function as external bus interface pins. Other pins become input/output port pins
when reset, so that some of these pins, if needed, must be set to function as external bus interface pins.
Note 2: These are triple-function pins. Their desired output function must be selected using the peripheral output select register.
Note 3: These ports cannot be used for input/output port function. The SBI#, MOD0 and MOD1 pin input levels can be read from
these ports.
Note: No pins are available for those in shaded sections
. However, because internal circuits are included, make sure
the ports are set for low-level output when initialized (to prevent current from flowing in through the port). These pins exist
in only the 32180 and are nonexistent in the 32182. However, P223 is an input-only pin and internally pulled high, so that
there is no need to set it for output.