32-Bit Arm
®
Cortex
®
-M0+ MCU
HT32F52220/HT32F52230
Port B Data Direction Control Register – PBDIRCR
This register is used to control the direction of GPIO Port B pin as input or output.
Offset:
0x000
Reset value: 0x0000_0000
31
Type/Reset
23
Type/Reset
15
Reserved
Type/Reset
RW
7
PBDIR
Type/Reset
RW
0
Bits
Field
[14:12], [8:7]
PBDIRn
[4:0]
Rev. 1.10
30
29
28
22
21
20
14
13
12
PBDIR
0 RW
0 RW
6
5
4
Reserved
RW
Descriptions
GPIO Port B pin n Direction Control Bits (n = 0 ~ 4, 7 ~ 8, 12 ~ 14)
0: Pin n is input mode
1: Pin n is output mode
119 of 366
27
26
Reserved
19
18
Reserved
11
10
Reserved
0
3
2
PBDIR
0 RW
0 RW
0 RW
25
24
17
16
9
8
PBDIR
RW
0
1
0
0 RW
0
November 09, 2018
Need help?
Do you have a question about the HT32F52220 and is the answer not in the manual?
Questions and answers