UG-549
ADuCM310 Hardware Reference Manual
Rev. C | Page 100 of 192
DIGITAL PORT MULTIPLEX
This block provides control over the GPIO functionality of specified pins because some of the pins have a choice to work as a GPIO or to
have other specific functions.
Table 130. GPIO Multiplex Table
GPIO
Configuration Modes
00
01
10
11
GP0—GP0CON
Controls These Bits
P0.0
GPIO
(GP0CON[1:0] = 0x0)
SPI0 SCLK
(GP0CON[1:0] = 0x1)
PLAI[0]
(GP0CON[1:0] = 0x3)
P0.1
GPIO
(GP0CON[3:2] = 0x0)
SPI0 MISO
(GP0CON[3:2] = 0x1)
PLAI[1]
(GP0CON[3:2] = 0x3)
P0.2
GPIO
(GP0CON[5:4] = 0x0)
SPI0 MOSI
(GP0CON[5:4] = 0x1)
PLAI[2]
(GP0CON[5:4] = 0x3)
P0.3
GPIO/IRQ0
(GP0CON[7:6] = 0x0)
SPI0 CS
(GP0CON[7:6] = 0x1)
PLACLK0
(GP0CON[7:6] = 0x2)
PLAI[3]
(GP0CON[7:6] = 0x3)
P0.4
GPIO
(GP0CON[9:8] = 0x0)
I
2
C0 SCL
(GP0CON[9:8] = 0x1)
PLAO[2]
(GP0CON[9:8] = 0x3)
P0.5
GPIO
(GP0CON[11:10] = 0x0)
I
2
C0 SDA
(GP0CON[11:10] = 0x1)
PLAO[3]
(GP0CON[11:10] = 0x3)
P0.6
GPIO
(GP0CON[13:12] = 0x0)
I
2
C1 SCL
(GP0CON[13:12] = 0x1)
PLAO[4]
(GP0CON[13:12] = 0x3)
P0.7
GPIO
(GP0CON[15:14] = 0x0)
I
2
C1 SDA
(GP0CON[15:14] = 0x1)
PLAO[5]
(GP0CON[15:14] = 0x3)
GP1—GP1CON
Controls These Bits
P1.0
GPIO
(GP1CON[1:0] = 0x0)
UART SIN
(GP1CON[1:0] = 0x1)
ECLKIN
(GP1CON[1:0] = 0x2)
PLAI[4]
(GP1CON[1:0] = 0x3)
P1.1
GPIO
(GP1CON[3:2] = 0x0)
UART SOUT
(GP1CON[3:2] = 0x1)
PLACLK1
(GP1CON[3:2] = 0x2)
PLAI[5]
(GP1CON[3:2] = 0x3)
P1.2
GPIO
(GP1CON[5:4] = 0x0)
PWM0
(GP1CON[5:4] = 0x1)
PLAI[6]
(GP1CON[5:4] = 0x3)
P1.3
GPIO
(GP1CON[7:6] = 0x0)
PWM1
(GP1CON[7:6] = 0x1)
PLAI[7]
(GP1CON[7:6] = 0x3)
P1.4
GPIO
(GP1CON[9:8] = 0x0)
PWM2
(GP1CON[9:8] = 0x1)
SPI1 SCLK
(GP1CON[9:8] = 0x2)
PLAO[10]
(GP1CON[9:8] = 0x3)
P1.5
GPIO
(GP1CON[11:10] = 0x0)
PWM3
(GP1CON[11:10] = 0x1)
SPI1 MISO
(GP1CON[11:10] = 0x2)
PLAO[11]
(GP1CON[11:10] = 0x3)
P1.6
GPIO
(GP1CON[13:12] = 0x0)
PWM4
(GP1CON[13:12] = 0x1)
SPI1 MOSI
(GP1CON[13:12] = 0x2)
PLAO[12]
(GP1CON[13:12] = 0x3)
P1.7
GPIO/IRQ1
(GP1CON[15:14] = 0x0)
PWM5
(GP1CON[15:14] = 0x1)
SPI1 CS
(GP1CON[15:14] = 0x2)
PLAO[13]
(GP1CON[15:14] = 0x3)