
Rev. 1.00
127 of 486
July 31, 2018
32-Bit Arm
®
Cortex
®
-M0+ MCU
HT32F50231/HT32F50241
8 General Purpose I/O (GPIO)
Port B Output Set / Reset Control Register – PBSRR
This register is used to set or reset the corresponding bit of the GPIO Port B output data.
Offset:
0x024
Reset value: 0x0000_0000
31
30
29
28
27
26
25
24
PBRST
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
PBRST
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
PBSET
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
PBSET
Type/Reset WO 0 WO 0 WO 0 WO 0 WO 0 WO 0 WO 0 WO 0
Bits
Field
Descriptions
[31:16]
PBRSTn
GPIO Port B pin n Output Reset Control Bits (n = 0 ~ 15)
0: No effect on the PBDOUTn bit
1: Reset the PBDOUTn bit
Note that when the PBRSTn bit in this register or (and) the PBRSTn bit in the PBRR
register is enabled, the reset function on the PBDOUTn bit will take effect.
[15:0]
PBSETn
GPIO Port B pin n Output Set Control Bits (n = 0 ~ 15)
0: No effect on the PBDOUTn bit
1: Set the PBDOUTn bit
Note that the function enabled by the PBSETn bit has the higher priority if both the
PBSETn and PBRSTn bits are set at the same time.