
Rev. 1.00
137 of 576
January 28, 2022
32-Bit Arm
®
Cortex
®
-M0+ MCU
HT32F54231/HT32F54241/HT32F54243/HT32F54253
8 General Purpose I/O (GPIO)
8 General Purpose I/O (GPIO)
Port A Output Reset Register – PARR
This register is used to reset the corresponding bit of the GPIO Port A output data.
Offset:
0x028
Reset value: 0x0000_0000
31
30
29
28
27
26
25
24
Reserved
Type/Reset
23
22
21
20
19
18
17
16
Reserved
Type/Reset
15
14
13
12
11
10
9
8
PARST
Type/Reset WO 0 WO 0 WO 0 WO 0 WO 0 WO 0 WO 0 WO 0
7
6
5
4
3
2
1
0
PARST
Type/Reset WO 0 WO 0 WO 0 WO 0 WO 0 WO 0 WO 0 WO 0
Bits
Field
Descriptions
[15:0]
PARSTn
GPIO Port A pin n Output Reset Control Bits (n = 0 ~ 15)
0: No effect on the PADOUTn bit
1: Reset the PADOUTn bit
Port B Data Direction Control Register – PBDIRCR
This register is used to control the direction of GPIO Port B pin as input or output.
Offset:
0x000
Reset value: 0x0000_0000
31
30
29
28
27
26
25
24
Reserved
Type/Reset
23
22
21
20
19
18
17
16
Reserved
Type/Reset
15
14
13
12
11
10
9
8
PBDIR
Type/Reset RW 0 RW 0 RW 0 RW 0 RW 0 RW 0 RW 0 RW 0
7
6
5
4
3
2
1
0
PBDIR
Type/Reset RW 0 RW 0 RW 0 RW 0 RW 0 RW 0 RW 0 RW 0
Bits
Field
Descriptions
[15:0]
PBDIRn
GPIO Port B pin n Direction Control Bits (n = 0 ~ 15)
0: Pin n is in input mode
1: Pin n is in output mode