
Mini57
Apr. 06, 2017
Page 170 of 475
Rev.1.00
MINI5
7
S
E
RI
E
S
TECH
NIC
A
L R
E
F
E
RE
N
CE
MA
N
UA
L
6.5.8
Register Description
Port A-D I/O Mode Control (Px_MODE)
Register
Offset
R/W
Description
Reset Value
PA_MODE
0x000
R/W
PA I/O Mode Control
0x0000_0XXX
PB_MODE
0x040
R/W
PB I/O Mode Control
0x0000_0XXX
PC_MODE
0x080
R/W
PC I/O Mode Control
0x0000_0XXX
PD_MODE
0x0C0
R/W
PD I/O Mode Control
0x0000_00XX
31
30
29
28
27
26
25
24
Reserved
23
22
21
20
19
18
17
16
Reserved
15
14
13
12
11
10
9
8
MODE7
MODE6
MODE5
MODE4
7
6
5
4
3
2
1
0
MODE3
MODE2
MODE1
MODE0
Bits
Description
[31:16]
Reserved
Reserved.
[2n+1:2n]
n=0,1..7
MODEn
Port A-d I/O Pin[n] Mode Control
Determine each I/O mode of Px.n pins.
00 = Px.n is in Input mode.
01 = Px.n is in Push-pull Output mode.
10 = Px.n is in Open-drain Output mode.
11 = Px.n is in Quasi-bidirectional mode.
Note1:
The initial value of this field is defined by CIOINI (CONFIG0 [10]).
If CIOINI is set to 0, the default value is 0xFFFF_FFFF and all pins will be quasi-
bidirectional
mode
after
chip
powered
on.
If CIOINI is set to 1, the default value is 0x0000_0000 and all pins will be
input mode after chip powered on.
Note2:
Max. n=5 for port A.
Max. n=4 for port B.
Max. n=4 for port C.
Max. n=6 for port D. n=0 is reserved.