
Rev. 1.00
162 of 576
January 28, 2022
32-Bit Arm
®
Cortex
®
-M0+ MCU
HT32F54231/HT32F54241/HT32F54243/HT32F54253
8 General Purpose I/O (GPIO)
Port D Open-Drain Selection Register – PDODR
This register is used to enable or disable the GPIO Port D open-drain function.
Offset:
0x010
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
Reserved
Type/Reset
7
6
5
4
3
2
1
0
Reserved
PDOD
Type/Reset
RW 0 RW 0 RW 0 RW 0 RW 0 RW 0
Bits
Field
Descriptions
[5:0]
PDODn
GPIO Port D pin n Open-Drain Selection Control Bits (n = 0 ~ 5)
0: Pin n Open-Drain output is disabled (The output type is CMOS output)
1: Pin n Open-Drain output is enabled (The output type is open-drain output)
Note: When the open-drain function is enabled, the pin n internal pull-up or pull-down
configuration will be invalid.