GD32VF103 User Manual
120
011: Select PORT D
100: Select PORT E
3:0
PIN[3:0]
Event output pin selection
Set and cleared by software. Select the pin used to output the RISC-V EVENTOUT
signal.
0000: Select Pin 0
0001: Select Pin 1
0010: Select Pin 2
…
1111: Select Pin 15
7.5.9.
AFIO port configuration register 0 (AFIO_PCF0)
Address offset: 0x04
Reset value: 0x0000 0000
This register has to be accessed by word (32-bit).
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
Reserved
TIMER1
ITI1_REM
AP
SPI2_RE
MAP
SWJ_CFG[2:0]
Reserved
CAN1_RE
MAP
Reserved
TIMER4C
H3_
IREMAP
rw
rw
w
rw
rw
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
PD01_RE
MAP
CAN0_REMAP[1:0]
TIMER3_
REMAP
TIMER2_REMAP[1:0
]
TIMER1_REMAP[1:0
]
TIMER0_REMAP[1:0
]
USART2_REMAP[1:
0]
USART1_
REMAP
USART0_
REMAP
I2C0_RE
MAP
SPI0_RE
MAP
rw
rw
rw
rw
rw
rw
rw
rw
rw
rw
rw
Bits
Fields
Descriptions
31:28
Reserved
Must be kept at reset value
29
TIMER1ITI1_REMAP
TIMER1 internal trigger 1 remapping
These bits are set and cleared by software. It control the TIMER1_ITI1 internal
mapping
0: Connect to 0
1: Connect USB OTG SOF (Start of Frame) output TIMER1_ITI1 for calibration
purposes
28
SPI2_REMAP
SPI2/I2S2 remapping
This bit is set and cleared by software.
0: No remap (SPI2_NSS-I2S2_WS/PA15, SPI2_SCK-I2S2_CK/PB3, SPI2_MISO/
PB4, SPI2_MOSI-I2S_SD/PB5)
1: Full remap (SPI2_NSS-I2S2_WS/PA4, SPI2_SCK-I2S2_CK/PC10, SPI2_MISO
/PC11, SPI2_MOSI-I2S_SD/PC12)