
GD32L23x User Manual
150
7.4.5.
Port input status register (GPIOx_ISTAT, x=A..D,F)
Address offset: 0x10
Reset value: 0x0000 XXXX
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
Reserved
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
ISTAT15
ISTAT14 ISTAT13 ISTAT12 ISTAT11 ISTAT10
ISTAT9
ISTAT8
ISTAT7
ISTAT6
ISTAT5
ISTAT4
ISTAT3
ISTAT2
ISTAT1
ISTAT0
r
r
r
r
r
r
r
r
r
r
r
r
r
r
r
r
Bits
Fields
Descriptions
31:16
Reserved
Must be kept at reset value
15:0
ISTATy
Port input status (y=0..15)
These bits are set and cleared by hardware.
0: Input signal low
1: Input signal high
7.4.6.
Port output control register (GPIOx_OCTL, x=A..D,F)
Address offset: 0x14
Reset value: 0x0000 0000
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
Reserved
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
OCTL15
OCTL14
OCTL13
OCTL12
OCTL11
OCTL10
OCTL9
OCTL8
OCTL7
OCTL6
OCTL5
OCTL4
OCTL3
OCTL2
OCTL1
OCTL0
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:0
OCTLy
Port output control (y=0..15)
These bits are set and cleared by software.
0: Pin output low
1: Pin output high