
NUC126
Aug. 08, 2018
Page
335
of 943
Rev 1.03
NUC12
6 S
E
RI
E
S
T
E
CH
NI
CA
L R
E
F
E
RE
NCE
MA
NUA
L
GPIO Px.n Pin Data Input/Outut (Pxn_PDIO)
Register
Offset
R/W
Description
Reset Value
PAn_PDIO
n=0,1..15
0x200+(0x04 * n)
R/W
GPIO PA.n Pin Data Input/Output
0x0000_000X
PBn_PDIO
n=0,1..15
0x240+(0x04 * n)
R/W
GPIO PB.n Pin Data Input/Output
0x0000_000X
PCn_PDIO
n=0,1..15
0x280+(0x04 * n)
R/W
GPIO PC.n Pin Data Input/Output
0x0000_000X
PDn_PDIO
n=0,1..15
0x2C0+(0x04 * n)
R/W
GPIO PD.n Pin Data Input/Output
0x0000_000X
PEn_PDIO
n=0,1..13
0x300+(0x04 * n)
R/W
GPIO PE.n Pin Data Input/Output
0x0000_000X
PFn_PDIO
n=0,1..7
0x340+(0x04 * n)
R/W
GPIO PF.n Pin Data Input/Output
0x0000_000X
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
Reserved
7
6
5
4
3
2
1
0
Reserved
PDIO
Bits
Description
[31:1]
Reserved
Reserved.
[0]
PDIO
GPIO Px.N Pin Data Input/Output
Writing this bit can control one GPIO pin output value.
0 = Corresponding GPIO pin set to low.
1 = Corresponding GPIO pin set to high.
Read this register to get GPIO pin status.
For example, writing PA0_PDIO will reflect the written value to bit DOUT (PA_DOUT[0]),
reading PA0_PDIO will return the value of PIN (PA_PIN[0]).
Note1:
The writing operation will not be affected by register DATMSK (Px_DATMSK[n]).
Note2:
Max. n=15 for port A/B/C/D/E.
Max. n=7 for port F.
Note3:
The PE.14/PE.15 pin is ignored.