User's Manual

RYZ012 Multi-Standard Wireless Communication Module for Bluetooth 5 Low Energy and 802.15.4
R15UH0002EU0103 Rev.1.03 Page 74 of 206
Apr.21.21
5.9.9 GPIOD:PFS - Peripheral Function Selection Register
Address: 0x05ae
Reset: 0x0000
7
6
5
4
3
2
1
0
GPIOD:PFS[1]
PF7
RSVD
PF4
rw, 0
rw, 0
rw, 0
GPIOD:PFS[0]
PF3
PF2
RSVD
rw, 0
rw, 0
rw, 0
15:14
PF7
Peripheral select if pin is configured in peripheral mode.
00: SPI_CK
01: I2S_BCK
10: UART_TX
9:8
PF4
Peripheral select if pin is configured in peripheral mode.
00: SWM
01: I2S_SDO
10: PWM2_N
7:6
PF3
Peripheral select if pin is configured in peripheral mode.
00: PWM1_N
01: I2S_SDI
10: UART_TX
5:4
PF2
Peripheral select if pin is configured in peripheral mode.
00: SPI_CN
01: I2S_LR
10: PWM3
5.9.10 GPIOD:T0G2R - GPIOD Extra Peripheral Mapping 0
Address: 0x05bb
Reset: 0x00
7
6
5
4
3
2
1
0
GPIOD:T0G2R
T0G2R7
T0G2R6
T0G2R5
T0G2R4
T0G2R3
T0G2R2
T0G2R1
T0G2R0
rw, 0
rw, 0
rw, 0
rw, 0
rw, 0
rw, 0
rw, 0
rw, 0
0, 1, 2, 3, 4,
5, 6, 7
T0G2Rx
GPIO extra peripheral mapping
Using this register individual GPIO pins can be mapped to Timer 0 and to the GPIO2RISC IRQ0 interrupt source.
0: GPIO is not mapped to Timer 0 and GPIO2RISC IRQ0
1: GPIO is mapped to Timer 0 and GPIO2RISC IRQ0