
Rev. 1.00
156 of 576
January 28, 2022
32-Bit Arm
®
Cortex
®
-M0+ MCU
HT32F54231/HT32F54241/HT32F54243/HT32F54253
8 General Purpose I/O (GPIO)
Port C Output Set/Reset Control Register – PCSRR
This register is used to set or reset the corresponding bit of the GPIO Port C output data.
Offset:
0x024
Reset value: 0x0000_0000
31
30
29
28
27
26
25
24
PCRST
Type/Reset WO 0 WO 0 WO 0 WO 0 WO 0 WO 0 WO 0 WO 0
23
22
21
20
19
18
17
16
PCRST
Type/Reset WO 0 WO 0 WO 0 WO 0 WO 0 WO 0 WO 0 WO 0
15
14
13
12
11
10
9
8
PCSET
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
PCSET
Type/Reset WO 0 WO 0 WO 0 WO 0 WO 0 WO 0 WO 0 WO 0
Bits
Field
Descriptions
[x+16:16]
PCRSTn
GPIO Port C pin n Output Reset Control Bits (n = 0 ~ x)
0: No effect on the PCDOUTn bit
1: Reset the PCDOUTn bit
Note that when the PCRSTn bit in this register or the PCRSTn bit in the PCRR
register is enabled, the reset function on the PCDOUTn bit will take effect.
For the HT32F54231/HT32F54241 devices the variable “x” is equal to 7 while the
variable “x” is equal to 15 for the HT32F54243/HT32F54253 devices.
[x:0]
PCSETn
GPIO Port C pin n Output Set Control Bits (n = 0 ~ x)
0: No effect on the PCDOUTn bit
1: Set the PCDOUTn bit
Note that the function enabled by the PCSETn bit has the higher priority if both the
PCSETn and PCRSTn bits are set at the same time.
For the HT32F54231/HT32F54241 devices the variable “x” is equal to 7 while the
variable “x” is equal to 15 for the HT32F54243/HT32F54253 devices.