EasyManua.ls Logo

NXP Semiconductors LPC1768 - Interrupt Set-Enable Registers; Interrupt Clear-Enable Registers

NXP Semiconductors LPC1768
841 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
UM10360 All information provided in this document is subject to legal disclaimers. © NXP B.V. 2013. All rights reserved.
User manual Rev. 3 — 20 December 2013 762 of 841
NXP Semiconductors
UM10360
Chapter 34: Appendix: Cortex-M3 user guide
The CMSIS provides thread-safe code that gives atomic access to the Interrupt Priority
Registers. For more information see the description of the
NVIC_SetPriority
function in
Section 34.4.2.10.1 “
NVIC programming hints. Table 645 shows how the interrupts, or
IRQ numbers, map onto the interrupt registers and corresponding CMSIS variables that
have one bit per interrupt.
[1] Each array element corresponds to a single NVIC register, for example the element
ICER[1]
corresponds to the ICER1 register.
34.4.2.2 Interrupt Set-enable Registers
The ISER0-ISER3 registers enable interrupts, and show which interrupts are enabled.
See:
the register summary in Table 644 for the register attributes
Table 645 for which interrupts are controlled by each register.
The bit assignments are shown in Table 646
.
If a pending interrupt is enabled, the NVIC activates the interrupt based on its priority. If an
interrupt is not enabled, asserting its interrupt signal changes the interrupt state to
pending, but the NVIC never activates the interrupt, regardless of its priority.
34.4.2.3 Interrupt Clear-enable Registers
The ICER0-ICER3 registers disable interrupts, and show which interrupts are enabled.
See:
the register summary in Table 644 for the register attributes
Table 645 for which interrupts are controlled by each register.
The bit assignments are shown in Table 647
.
Table 645. Mapping of interrupts to the interrupt variables
Interrupts CMSIS array elements
[1]
Set-enable Clear-enable Set-pending Clear-pending Active Bit
0-31
ISER[0] ICER[0] ISPR[0] ICPR[0] IABR[0]
32-63
ISER[1] ICER[1] ISPR[1] ICPR[1] IABR[1]
64-95
ISER[2] ICER[2] ISPR[2] ICPR[2] IABR[2]
96-127
ISER[3] ICER[3] ISPR[3] ICPR[3] IABR[3]
Table 646. ISER bit assignments
Bits Name Function
[31:0] SETENA Interrupt set-enable bits.
Write:
0 = no effect
1 = enable interrupt.
Read:
0 = interrupt disabled
1 = interrupt enabled.

Table of Contents

Other manuals for NXP Semiconductors LPC1768

Related product manuals