32-Bit Arm
®
Cortex
®
-M0+ MCU
HT32F50231/HT32F50241
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
Type/Reset
RW
0 RW
7
Type/Reset
RW
0 RW
Bits
Field
[15:0]
PBDIRn
Rev. 1.00
30
29
28
22
21
20
14
13
12
0 RW
0 RW
6
5
4
0 RW
0 RW
Descriptions
GPIO Port B pin n Direction Control Bits (n = 0 ~ 15)
0: Pin n is in input mode
1: Pin n is in output mode
119 of 486
27
26
Reserved
19
18
Reserved
11
10
PBDIR
0 RW
0 RW
0 RW
3
2
PBDIR
0 RW
0 RW
0 RW
25
24
17
16
9
8
0 RW
0
1
0
0 RW
0
July 31, 2018
Need help?
Do you have a question about the HT32F50231 and is the answer not in the manual?
Questions and answers