MB90420/5 (A) SERIES F
Port
Input
Output
Pin Name
Name
Type
Type
P00/SIN0/I
Port 0
NT4 to
P07/PPG1
P10/PPG2
Port 1
to P15/IN0
CMOS
P36/SEG12
Port 3
to
(hysteresis)
P37/SG13
P40/SEG14
Port 4
to
P47/SEG21
CMOS
P50/INT0
Port 5
to
P57/SGA
Analog
Port 6 P60/AN0 to
CMOS
P67/AN7
(hysterisys)
P70/PWM1
P0 to
Port 7
P77/PWM2
M1
P80/PWM1
CMOS
P2 to
Port 8
P87/PWM2
(hysteresis)
M3
P90/SEG22
Port 9
to
P91/SEG23
Note:
Port 6 also serve as analog input pins. When using these ports as general-purpose ports, always
set each bit of the analog input enable register (ADER) corresponding to each pin of the ports to 0.
ADER bit is 1 at a reset.
2
MC-16LX FAMILY 16-BIT MICROCONTROLLERS HARDWARE MANUAL
Table 8-1 List of Each Port Functions
bit
bit
bit
bit
Function
15
14
13
General
purpose
—
—
—
I/O port
—
—
—
Resource
—
—
—
General
purpose
—
—
P15
P14
I/O port
—
—
IN0
IN1
Resource
—
—
—
General
purpose
P37
P36
—
I/O port
Resource SEG
SEG
—
13
12
General
purpose
—
—
—
I/O port
Resource
—
—
—
General
purpose
P57
P56
P55
P54
I/O port
SGA SGO
RX0
TX0
Resource
—
—
—
General
purpose
—
—
—
I/O port
Resource
—
—
—
General
purpose
P77
P76
P75
P74
I/O port
PWM
PWM
PWM
PWM
Resource
2M1
2P1
1M1
1P1
General
purpose
—
—
—
I/O port
Resource
—
—
—
General
purpose
—
—
—
I/O port
Resource
—
—
—
bit
bit
bit 9
bit 8
12
11
10
—
—
—
—
—
—
—
—
—
—
PPG1 PPG0 SCK1 SOT1
—
—
—
—
—
P13
P12
P11
P10
IN2
IN3
WOT
PPG2
—
—
TIN
TOT
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
SEG
—
—
—
—
—
P53
P52
P51
P50
INT3 INT2 INT1 INT0
—
—
TX1
RX1
—
—
—
—
—
—
—
—
—
—
—
P73
P72
P71
P70
PWM
PWM
PWM
PWM
2M0
2P0
1M0
1P0
—
—
—
—
—
PWM
—
—
—
—
—
—
—
—
P91
P90
SEG
SEG
—
—
—
23
22
8-4
bit 7
bit 6
bit 5
bit 4
bit 3
P07
P06
P05
P04
P03
SIN1
—
—
—
—
INT7 INT6 INT5 INT4
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
P47
P46
P45
P44
P43
SEG
SEG
SEG
SEG
21
20
19
18
17
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
P67
P66
P65
P64
P63
AN7
AN6
AN5
AN4
AN3
—
—
—
—
—
—
—
—
—
—
P87
P86
P85
P84
P83
PWM
PWM
PWM
PWM
2M3
2P3
1M3
1P3
2M2
—
—
—
—
—
—
—
—
—
—
bit 2
bit 1
bit 0
P02
P01
P00
SIN0
SCK0 SOT0
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
P42
P41
P40
SEG
SEG
SEG
16
15
14
—
—
—
—
—
—
—
—
—
P62
P61
P60
AN2
AN1
AN0
—
—
—
—
—
—
P82
P81
P80
PWM
PWM
PWM
2P2
1M2
1P2
—
—
—
—
—
—