GD32F10x User Manual
167
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(10MHz)
10: Output mode(2MHz)
11: Output mode(50MHz)
7.5.2.
Port control register 1 (GPIOx_CTL1, x=A..G)
Address offset: 0x04
Reset value: 0x4444 4444
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
CTL15[1:0]
MD15[1:0]
CTL14[1:0]
MD14[1:0]
CTL13[1:0]
MD13[1:0]
CTL12[1:0]
MD12[1:0]
rw
rw
rw
rw
rw
rw
rw
rw
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
CTL11[1:0]
MD11[1:0]
CTL10[1:0]
MD10[1:0]
CTL9[1:0]
MD9[1:0]
CTL8[1:0]
MD8[1:0]
rw
rw
rw
rw
rw
rw
rw
rw
Bits
Fields
Descriptions
31:30
CTL15[1:0]
Port 15 configuration bits
These bits are set and cleared by software
refer to CTL0[1:0]description
29:28
MD15[1:0]
Port 15 mode bits
These bits are set and cleared by software
refer to MD0[1:0]description
27:26
CTL14[1:0]
Port 14 configuration bits
These bits are set and cleared by software
refer to CTL0[1:0]description
25:24
MD14[1:0]
Port 14 mode bits
These bits are set and cleared by software
refer to MD0[1:0]description
23:22
CTL13[1:0]
Port 13 configuration bits
These bits are set and cleared by software
Summary of Contents for GD32F10 Series
Page 63: ...GD32F10x User Manual 63 programmed during the chip production ...
Page 117: ...GD32F10x User Manual 117 010 1 0 011 0 9 ...
Page 416: ...GD32F10x User Manual 416 shadow register updates every update event ...
Page 427: ...GD32F10x User Manual 427 value ...
Page 518: ...GD32F10x User Manual 518 These bits are not used in SPI mode ...