GD32A50x User Manual
188
Refer to OSPD0[1:0] description
5:4
OSPD2[1:0]
Pin 2 output max speed bits
These bits are set and cleared by software.
Refer to OSPD0[1:0] description
3:2
OSPD1[1:0]
Pin 1 output max speed bits
These bits are set and cleared by software.
Refer to OSPD0[1:0] description
1:0
OSPD0[1:0]
Pin 0 output max speed bits
These bits are set and cleared by software.
x0: Output max speed 2M (reset value)
01: Output max speed 10M
11: Output max speed 50M
8.4.4.
Port pull-up/down register (GPIOx_PUD, x=A..F)
Address offset: 0x0C
Reset value: 0x0006 4040 for port B; 0x0000 0000 for others.
This register can be accessed by byte(8-bit), half-word(16-bit) and word(32-bit)
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
PUD15[1:0]
PUD14[1:0]
PUD13[1:0]
PUD12[1:0]
PUD11[1:0]
PUD10[1:0]
PUD9[1:0]
PUD8[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
PUD7[1:0]
PUD6[1:0]
PUD5[1:0]
PUD4[1:0]
PUD3[1:0]
PUD2[1:0]
PUD1[1:0]
PUD0[1:0]
rw
rw
rw
rw
rw
rw
rw
rw
Bits
Fields
Descriptions
31:30
PUD15[1:0]
Pin 15 pull-up or pull-down bits
These bits are set and cleared by software.
Refer to PUD0[1:0] description
29:28
PUD14[1:0]
Pin 14 pull-up or pull-down bits
These bits are set and cleared by software.
Refer to PUD0[1:0] description
27:26
PUD13[1:0]
Pin 13 pull-up or pull-down bits
These bits are set and cleared by software.
Refer to PUD0[1:0] description
25:24
PUD12[1:0]
Pin 12 pull-up or pull-down bits
These bits are set and cleared by software.
Refer to PUD0[1:0] description
23:22
PUD11[1:0]
Pin 11 pull-up or pull-down bits