GD32F20x User Manual
152
These bits are set and cleared by software
refer to MD0[1:0]description
15:14
CTL3[1:0]
Port 3 configuration bits
These bits are set and cleared by software
refer to CTL0[1:0]description
13:12
MD3[1:0]
Port 3 mode bits
These bits are set and cleared by software
refer to MD0[1:0]description
11:10
CTL2[1:0]
Port 2 configuration bits
These bits are set and cleared by software
refer to CTL0[1:0]description
9:8
MD2[1:0]
Port 2 mode bits
These bits are set and cleared by software
refer to MD0[1:0]description
7:6
CTL1[1:0]
Port 1 configuration bits
These bits are set and cleared by software
refer to CTL0[1:0]description
5:4
MD1[1:0]
Port 1 mode bits
These bits are set and cleared by software
refer to MD0[1:0]description
3:2
CTL0[1:0]
Pin 0 configuration bits
These bits are set and cleared by software
Input mode ( MD[1:0] =00)
00: Analog mode
01: Floating input
10: Input with pull-up / pull-down
11: Reserved
Output mode ( MD[1:0] >00)
00: GPIO output with push-pull
01: GPIO output with open-drain
10: AFIO output with push-pull
11: AFIO output with open-drain
1:0
MD0[1:0]
Port 0 mode bits
These bits are set and cleared by software
00: Input mode (reset state)
01: Output mode ,max speed 10MHz
10: Output mode ,max speed 2 MHz
11: Output mode ,max speed 50MHz
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 ...