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
E
G
2
9
/
L
C
D
_
C
O
M
6
/
P
W
M
2
_
C
H
0
P
4
.4
/
L
C
D
_
S
E
G
3
0
/
L
C
D
_
C
O
M
5
/
U
A
R
T
2
_
R
X
D
/
I
2
C
1
_
S
D
A
/
P
W
M
1
_
C
H
1
P
4
.5
/
L
C
D
_
S
E
G
3
1
/
L
C
D
_
C
O
M
4
/
U
A
R
T
2
_
T
X
D
/
I
2
C
1
_
S
C
L
/
P
W
M
1
_
C
H
0
P
5
.1
/
U
A
R
T
1
_
R
X
D
/
I
2
C
1
_
S
D
A
/
U
A
R
T
0
_
R
X
D
/
I
C
E
_
C
L
K
P
5
.0
/
U
A
R
T
1
_
T
X
D
/
I
2
C
1
_
S
C
L
/
U
A
R
T
0
_
T
X
D
/
I
C
E
_
D
A
T
V
SS
INT0 / CLKO / T0 / PWM0_CH0 / LCD_SEG17 / P4.6
V
DD
T1 / LCD_COM0 / LCD_SEG16 / P4.7
PWM0_BRAKE / IC0 / PWM1_CH0 / LCD_COM1 / SPI1_SS / LCD_SEG15 / P3.3
CLKO / IC1 / PWM1_CH1 / UART3_RXD / SPI1_CLK / LCD_SEG14 / ACMP1_N1 / ADC_CH7 / P3.2
IC2 / PWM2_CH0 / UART0_TXD / UART3_TXD / SPI1_MISO / LCD_SEG13 / ACMP1_P3 / ACMP0_P3 / ADC_CH6 / P3.1
IC0 / PWM2_CH1 / UART0_RXD / SPI1_MOSI / LCD_SEG12 / ADC_CH10 / P3.0
AV
DD
V
REF
AV
SS
I2C1_SCL / LCD_SEG11 / ADC_CH11 / P6.7
I2C1_SDA / LCD_V1 / LCD_SEG10 / ADC_CH12 / P6.6
UART0_TXD / LCD_V2 / LCD_SEG9 / ADC_CH13 / P6.5
UART0_RXD / LCD_V3 / LCD_SEG8 / ADC_CH14 / P6.4
ACMP0_O / PWM3_CH0 / UART1_TXD / LCD_SEG7 / ADC_CH15 / P2.7
Figure 4.1-16 ML54SD1AE Multi-Function Pin assignment
Pin ML54SD1AE Pin Function
1
P2.6 / LCD_SEG6 / UART1_RXD / PWM3_CH1 / ACMP1_O
2
P2.5 / ADC_CH0 / ACMP0_P0 / ACMP1_P0 / LCD_COM0 / I2C0_SCL / PWM0_CH0 / UART2_TXD / T0
/ INT0
3
P2.4 / ADC_CH1 / ACMP0_N0 / LCD_COM1 / I2C0_SDA / PWM0_CH1 / UART2_RXD / T1 / INT1
4
P2.3 / ADC_CH2 / ACMP0_P1 / ACMP1_P1 / I2C1_SCL / LCD_COM2 / UART1_TXD / PWM0_CH2 /
PWM0_BRAKE