GD32W51x User Manual
239
3:2
CTL1[1:0]
Pin 1 configuration bits
These bits are set and cleared by softw are.
refer to CTL0[1:0]description
1:0
CTL0[1:0]
Pin 0 configuration bits
These bits are set and cleared by softw are.
00: GPIO Input mode (reset value)
01: GPIO output mode
10: Alternate function mode.
11: Analog mode (Input and Output)
8.5.2.
Port output mode register (GPIOx_OMODE, x=A..C)
Address offset: 0x04
Reset value: 0x0000 0000
This register has to be accessed by word(32-bit)/half-word(16-bit)/byte(8-bit)
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
Reserved
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
OM15
OM14
OM13
OM12
OM11
OM10
OM9
OM8
OM7
OM6
OM5
OM4
OM3
OM2
OM1
OM0
rw
rw
rw
rw
rw
rw
rw
rw
rw
rw
rw
rw
rw
rw
rw
rw
Bits
Fields
Descriptions
31:16
Reserved
Must be kept at reset value.
15
OM15
Pin 15 output mode bit
These bits are set and cleared by softw are.
refer to OM0 description
14
OM14
Pin 14 output mode bit
These bits are set and cleared by softw are.
refer to OM0 description
13
OM13
Pin 13 output mode bit
These bits are set and cleared by softw are.
refer to OM0 description
12
OM12
Pin 12 output mode bit
These bits are set and cleared by softw are.
refer to OM0 description
11
OM11
Pin 11 output mode bit
These bits are set and cleared by softw are.