NuMicro® NUC029LEE/NUC029SEE
32-bit Arm
®
Cortex
®
-M0 Microcontroller
Aug, 2018
Page
190
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
GPIO Port [A/B/C/E/F] Interrupt Enable Register (GPIOx _IEN)
Register
Offset
R/W Description
Reset Value
GPIOA_IEN
0x01C
R/W GPIO Port A Interrupt Enable Register
0x0000_0000
GPIOB_IEN
0x05C
R/W GPIO Port B Interrupt Enable Register
0x0000_0000
GPIOC_IEN
0x09C
R/W GPIO Port C Interrupt Enable Register
0x0000_0000
GPIOE_IEN
0x11C
R/W GPIO Port E Interrupt Enable Register
0x0000_0000
GPIOF_IEN
0x15C
R/W GPIO Port F Interrupt Enable Register
0x0000_0000
31
30
29
28
27
26
25
24
IR_EN[15:8]
23
22
21
20
19
18
17
16
IR_EN
15
14
13
12
11
10
9
8
IF_EN
7
6
5
4
3
2
1
0
IF_EN
Bits
Description
[n+16]
n = 0,1..15
IR_EN[n]
Port [A/B/C/E/F] Interrupt Enabled By Input Rising Edge Or Input Level High
IR_EN[n] used to enable the interrupt for each of the corresponding input GPIO_PIN[n].
Set bit to 1 also enable the pin wake-up function
When setting the IR_EN[n] bit to 1:
If the interrupt is level trigger, the input PIN[n] state at level “high” will generate the
interrupt.
If the interrupt is edge trigger, the input PIN[n] state change from “low-to-high” will
generate the interrupt.
0 = PIN[n] level-high or low-to-high interrupt Disabled.
1 = PIN[n] level-high or low-to-high interrupt Enabled.
Note1:
Max. n = 15 for GPIOA/GPIOB/GPIOC; n = 5 for GPIOE; Max. n = 1 for GPIOF.
Note2:
The PA.7, PB.12, PC.4, PC.5, PC.12, PC.13 pin is ignored.
[n]
n = 0,1..15
IF_EN[n]
Port [A/B/C/E/F] Interrupt Enabled By Input Falling Edge Or Input Level Low
IF_EN[n] is used to enable the interrupt for each of the corresponding input GPIO_PIN[n].
Set bit to 1 also enable the pin wake-up function
When setting the IF_EN[n] bit to 1:
If the interrupt is level trigger, the input PIN[n] state at level “low” will generate the
interrupt.
If the interrupt is edge trigger, the input PIN[n] state change from “high-to-low” will
generate the interrupt.
0 = PIN[n] state low-level or high-to-low change interrupt Disabled.
1 = PIN[n] state low-level or high-to-low change interrupt Enabled.
Note1:
Max. n = 15 for GPIOA/GPIOB/GPIOC; n = 5 for GPIOE; Max. n = 1 for GPIOF.