NuMicro® NUC029LEE/NUC029SEE
32-bit Arm
®
Cortex
®
-M0 Microcontroller
Aug, 2018
Page
107
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
Interrupt Control State Register (ICSR)
Register
Offset
R/W
Description
Reset Value
ICSR
0xD04
R/W
Interrupt Control and State Register
0x0000_0000
31
30
29
28
27
26
25
24
NMIPENDSET
Reserved
PENDSVSET PENDSVCLR PENDSTSET PENDSTCLR
Reserved
23
22
21
20
19
18
17
16
ISRPREEMPT ISRPENDING
Reserved
VECTPENDING
15
14
13
12
11
10
9
8
VECTPENDING
Reserved
7
6
5
4
3
2
1
0
Reserved
VECTACTIVE
Bits
Description
[31]
NMIPENDSET
NMI Set-Pending Bit
Write Operation:
0 = No effect.
1 = Changes NMI exception state to pending.
Read Operation:
0 = NMI exception not pending.
1 = NMI exception pending.
Because NMI is the highest-priority exception, normally the processor enters the NMI
exception handler as soon as it detects a write of 1 to this bit. Entering the handler then
clears this bit to 0. This means a read of this bit by the NMI exception handler returns 1
only if the NMI signal is reasserted while the processor is executing that handler.
[30:29]
Reserved
Reserved.
[28]
PENDSVSET
PendSV Set-Pending Bit
Write Operation:
0 = No effect.
1 = Changes PendSV exception state to pending.
Read Operation:
0 = PendSV exception is not pending.
1 = PendSV exception is pending.
Note:
Writing 1 to this bit is the only way to set the PendSV exception state to pending.
[27]
PENDSVCLR
PendSV Clear-Pending Bit
Write Operation:
0 = No effect.
1 = Removes the pending state from the PendSV exception.
This is a write only bit. When you want
to clear PENDSV bit, you must “write 0 to
PENDSVSET and write 1 to PENDSVCLR” at the same time.
[26]
PENDSTSET
SysTick Exception Set-Pending Bit