DA14580
FINAL
Bluetooth Low Energy 4.2 SoC
Table 196: P04_MODE_REG (0x5000300E)
Bit
Mode Symbol
R/W PID
Description
Reset
4:0
Function of port
0x0
0 = Port function, PUPD as set above
1 = UART1_RX
2 = UART1_TX
3 = UART2_RX
4 = UART2_TX
5 = SPI_DI
6 = SPI_DO
7 = SPI_CLK
8 = SPI_EN
9 = I2C_SCL
10 = I2C_SDA
11 = UART1_IRDA_RX
12 = UART1_IRDA_TX
13 = UART2_IRDA_RX
14 = UART2_IRDA_TX
15 = ADC (only for P0[3:0])
16 = PWM0
17 = PWM1
18 = BLE_DIAG (only for P0[7:0])
19 = UART1_CTSN
20 = UART1_RTSN
21 = UART2_CTSN
22 = UART2_RTSN
23 = PWM2
24 = PWM3
25 = PWM4
Note: when a certain input function (like SPI_DI) is selected
on more than 1 port pin, the port with the lowest index has
the highest priority and P0 has higher priority than P1.
Table 197: P05_MODE_REG (0x50003010)
Bit
Mode Symbol
Description
Reset
0x0
15:10
9:8
-
-
Reserved
R/W
PUPD
00 = Input, no resistors selected
01 = Input, pull-up selected
0x2
10 = Input, Pull-down selected
11 = Output, no resistors selected
In ADC mode, these bits are don't care
7:5
-
-
Reserved
0x0
Datasheet
Revision 3.4
09-Nov-2016
CFR0011-120-01
123 of 155
© 2014 Dialog Semiconductor