GD32F403xx User Manual
155
Reserved
SPI2_
REMAP
Reserved
SWJ_ CFG[2:0]
Reserved
CAN1_
REMAP
Reserved
ADC1_
ETRGRER
_REMAP
Reserved
ADC0_
ETRGRER
_REMAP
Reserved
rw
w
rw
rw
rw
rw
rw
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
PD01_
REMAP
CAN0_REMAP [1:0]
TIMER3_
REMAP
TIMER2_REMAP [1:0]
Reserved
TIMER0_REMAP [1:0]
USART2_ REMAP[1:0]
USART1_
REMAP
USART0_
REMAP
I2C0_
REMAP
SPI0_
REMAP
rw
rw
rw
rw
rw
rw
rw
rw
rw
rw
Bits
Fields
Descriptions
31:29
Reserved
Must be kept at reset value.
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)
27
Reserved
Must be kept at reset value.
26:24
SWJ_CFG[2:0]
Serial wire JTAG configuration
These bits are write-only (when read, the value is undefined).They are used to
configure the SWJ and trace alternate function I/Os. The SWJ(Serial Wire JTAG)
supports JTAG or SWD access to the Cortex debug port. The default state after
reset is SWJ ON without trace.This allows JTAG or SW mode to be enabled by
sending a specific sequence on the JTMS/JTCK pin.
000: Full SWJ (JTAG-DP + SW-DP): reset state
001: Full SWJ (JTAG-DP + SW-DP): but without NJTRST
010: JTAG-DP Disabled and SW-DP Enabled
100: JTAG-DP Disabled and SW-DP Disabled
Other: no effect
23
Reserved
Must be kept at reset value.
22
CAN1_REMAP
CAN1 I/O remapping
This bit is set and cleared by software.It controls the CAN1_TX and CAN1_RX pins
0: No remap (CAN1_RX/ PB12, CAN_TX/ PB13)
1: Remap (CAN1_RX/ PB5, CAN_TX/ PB6)
21
Reserved
Must be kept at reset value.
20
ADC1_ETRGREG_R
EMAP
ADC 1 external trigger rountine conversion remapping
Set and cleared by software. The bit controls the trigger input be connected to
ADC1 external trigger rountine conversion or not. When this bit is reset, the ADC1
external trigger rountine conversion to EXTI11. When this bit is set, the ADC1
external event rountine conversion is connected to TIMER7_TRGO.