
NuMicro® NUC029LEE/NUC029SEE
32-bit Arm
®
Cortex
®
-M0 Microcontroller
Aug, 2018
Page
177
of
497
Rev 1.00
N
U
MICRO
®
N
UC02
9L
E
E
/N
UC029
S
E
E
T
E
CHN
ICA
L R
E
F
E
R
E
NC
E
M
A
NU
A
L
6.6.3 Basic Configuration
The GPIO pin functions are configured in GPA_MFP, GPB_MFP, GPC_MFP, GPE_MFP,
ALT_MFP, ALT_MFP1 and ALT_MFP2 registers.
6.6.4 Functional Description
6.6.4.1 Input Mode Explanation
Set GPIOx_PMD (PMDn[1:0]) to 00b as the GPIOx port [n] pin is in Input mode and the I/O pin is
in tri-state (high impedance) without output drive capability. The GPIOx_PIN value reflects the
status of the corresponding port pins.
6.6.4.2 Push-pull Output Mode Explanation
Set GPIOx_PMD (PMDn[1:0]) to 01b as the GPIOx port [n] pin is in Push-pull Output mode and
the I/O pin supports digital output function with source/sink current capability. The bit value in the
corresponding bit [n] of GPIOx_DOUT is driven on the pin.
Port Pin
Input Data
Port Latch
Data
P
N
VDD
Figure 6.6-1 Push-Pull Output