
GD32F20x User Manual
159
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 combinations: no effect
23
ENET_PHY_SEL
Ethernet MII or RMII PHY selection
This bit is set and cleared by software.It configures the Ethernet MAC
internally for use with an external MII or RMII PHY.
0:Configure Ethernet MAC for connection with an MII PHY
1:Configure Ethernet MAC for connection with an RMII PHY
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
ENET_REMAP
Ethernet MAC I/O remapping
This bit is set and cleared by software.It controls the Ethernet MAC
connections with PHY
0: No remap (RX_DV-CRS_DV/PA7,RXD0/PC4,RXD1/PC5,RXD2/PB0,
RXD3/PB1)
1: Remap (RX_DV-CRS_DV/PD8,RXD0/PD9,RXD1/PD10,RXD2/PD11,
RXD3/PD12)
20
ADC1_ETRGREG_REMAP ADC 1 external trigger regular conversion remapping
Set and cleared by software. The bit control the trigger input connected to
ADC1 external trigger regular conversion. When this bit is reset, the ADC1
external trigger reqular conversion to EXTI11.When this bit is set, the ADC1
external event regular conversion is connected to TIM7_TRGO.
19
ADC1_ETRGINS_REMAP ADC 1 external trigger inserted conversion remapping
Set and cleared by software. The bit control the trigger input connected to
ADC1 external trigger inserted conversion. When this bit is reset, the ADC1
external trigger inserted conversion to EXTI15.When this bit is set, the ADC1
Summary of Contents for GD32F20 Series
Page 191: ...GD32F20x User Manual 191 Bits Fields Descriptions 31 0 TRNDATA 31 0 32 Bit Random data ...
Page 290: ...GD32F20x User Manual 290 conversion is ongoing ...
Page 325: ...GD32F20x User Manual 325 15 0 ALRM 15 0 RTC alarm value low ...
Page 385: ...GD32F20x User Manual 385 ...
Page 523: ...GD32F20x User Manual 523 clears AERR bit by writing 0 to it ...