GD32VF103 User Manual
114
refer to MD0[1:0]description
19:18
CTL4[1:0]
Port 4 configuration bits
These bits are set and cleared by software
refer to CTL0[1:0]description
17:16
MD4[1:0]
Port 4 mode bits
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]
Port 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