
Rev. 1.00
166 of 576
January 28, 2022
32-Bit Arm
®
Cortex
®
-M0+ MCU
HT32F54231/HT32F54241/HT32F54243/HT32F54253
8 General Purpose I/O (GPIO)
Port D Output Set/Reset Control Register – PDSRR
This register is used to set or reset the corresponding bit of the GPIO Port D output data.
Offset:
0x024
Reset value: 0x0000_0000
31
30
29
28
27
26
25
24
Reserved
Type/Reset
23
22
21
20
19
18
17
16
Reserved
PDRST
Type/Reset
WO 0 WO 0 WO 0 WO 0 WO 0 WO 0
15
14
13
12
11
10
9
8
Reserved
Type/Reset
7
6
5
4
3
2
1
0
Reserved
PDSET
Type/Reset
WO 0 WO 0 WO 0 WO 0 WO 0 WO 0
Bits
Field
Descriptions
[21:16]
PDRSTn
GPIO Port D pin n Output Reset Control Bits (n = 0 ~ 5)
0: No effect on the PDDOUTn bit
1: Reset the PDDOUTn bit
Note that when the PDRSTn bit in this register or the PDRSTn bit in the PDRR
register is enabled, the reset function on the PDDOUTn bit will take effect.
[5:0]
PDSETn
GPIO Port D pin n Output Set Control Bits (n = 0 ~ 5)
0: No effect on the PDDOUTn bit
1: Set the PDDOUTn bit
Note that the function enabled by the PDSETn bit has the higher priority if both the
PDSETn and PDRSTn bits are set at the same time.