English
Language : 

DA14582_16 Datasheet, PDF (122/172 Pages) Dialog Semiconductor – Bluetooth Low Energy 4.2 SoC with Audio CODEC
DA14582
Bluetooth Low Energy 4.2 SoC with Audio CODEC
FINAL
Table 193: P04_MODE_REG (0x5000300E)
Bit
Mode Symbol
4:0
r/w
PID
Description
Function of port
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.
Reset
0x0
Table 194: P05_MODE_REG (0x50003010)
Bit
15:10
9:8
Mode
-
r/w
Symbol
-
PUPD
7:5
-
-
Description
Reserved
00 = Input, no resistors selected
01 = Input, pull-up selected
10 = Input, Pull-down selected
11 = Output, no resistors selected
In ADC mode, these bits are don't care
Reserved
Reset
0x0
0x2
0x0
Datasheet
CFR0011-120-01
Revision 3.0
122 of 172
08-Nov-2016
© 2015 Dialog Semiconductor