
DR
AFT
DR
AFT
DRAFT
DR
D
RAFT
DRAFT
DRA
FT DRAF
D
RAFT DRAFT DRAFT DRAFT DRAFT D
DRAFT
D
RAFT DRA
FT DRAFT DRAFT DRAFT DRA
UM10360_0
© NXP B.V. 2009. All rights reserved.
User manual
Rev. 00.06 — 5 June 2009
739 of 808
NXP Semiconductors
UM10360
Chapter 34: Appendix: Cortex-M3 User Guide
–
whether there are preempted active exceptions
–
the exception number of the highest priority pending exception
–
whether any interrupts are pending.
, and the Type descriptions in
, for
the ICSR attributes. The bit assignments are shown in
.
Table 629. ICSR bit assignments
Bits
Name
Type
Function
[31]
NMIPENDSET
RW
NMI set-pending bit.
Write:
0 = no effect
1 = changes NMI exception state to pending.
Read:
0 = NMI exception is not pending
1 = NMI exception is pending.
Because NMI is the highest-priority exception, normally the
processor enter the NMI exception handler as soon as it
registers a write of 1 to this bit, and entering the handler clears
this bit to 0. 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.
[28]
PENDSVSET
RW
PendSV set-pending bit.
Write:
0 = no effect
1 = changes PendSV exception state to pending.
Read:
0 = PendSV exception is not pending
1 = PendSV exception is pending.
Writing 1 to this bit is the only way to set the PendSV
exception state to pending.
[27]
PENDSVCLR
WO
PendSV clear-pending bit.
Write:
0 = no effect
1 = removes the pending state from the PendSV exception.
[26]
PENDSTSET
RW
SysTick exception set-pending bit.
Write:
0 = no effect
1 = changes SysTick exception state to pending.
Read:
0 = SysTick exception is not pending
1 = SysTick exception is pending.