
Rev. 1.00
137 of 486
July 31, 2018
32-Bit Arm
®
Cortex
®
-M0+ MCU
HT32F50231/HT32F50241
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
Reserved
Type/Reset
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
Reserved
Type/Reset
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
[23:16]
PCRSTn
GPIO Port C pin n Output Reset Control Bits (n = 0 ~ 7)
0: No effect on the PCDOUTn bit
1: Reset the PCDOUTn bit
Note that when the PCRSTn bit in this register or (and) the PCRSTn bit in the PCRR
register is enabled, the reset function on the PCDOUTn bit will take effect.
[7:0]
PCSETn
GPIO Port C pin n Output Set Control Bits (n = 0 ~ 7)
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.