OM13008,598 NXP Semiconductors, OM13008,598 Datasheet - Page 410

no-image

OM13008,598

Manufacturer Part Number
OM13008,598
Description
BOARD LPC XPRESSO LPC122X
Manufacturer
NXP Semiconductors
Series
LPCXpressor
Datasheets

Specifications of OM13008,598

Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Other names
568-6642
OM13008
NXP Semiconductors
Table 375. CMISIS acess NVIC functions
[1]
UM10441
User manual
CMSIS function
void NVIC_EnableIRQ(IRQn_Type IRQn)
void NVIC_DisableIRQ(IRQn_Type IRQn)
void NVIC_SetPendingIRQ(IRQn_Type IRQn)
void NVIC_ClearPendingIRQ(IRQn_Type IRQn)
uint32_t NVIC_GetPendingIRQ(IRQn_Type IRQn)
void NVIC_SetPriority(IRQn_Type IRQn, uint32_t priority)
uint32_t NVIC_GetPriority(IRQn_Type IRQn)
The input parameter IRQn is the IRQ number, see
25.5.2.1 Accessing the Cortex-M0 NVIC registers using CMSIS
25.5.2.2 Interrupt Set-enable Register
25.5.2.3 Interrupt Clear-enable Register
CMSIS functions enable software portability between different Cortex-M profile
processors.
To access the NVIC registers when using CMSIS, use the following functions:
The ISER enables interrupts, and shows which interrupts are enabled. See the register
summary in
The bit assignments are:
Table 376. ISER bit assignments
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.
The ICER disables interrupts, and show which interrupts are enabled. See the register
summary in
The bit assignments are:
Bits
[31:0]
Name
SETENA
Table 374
Table 25–374
[1]
[1]
All information provided in this document is subject to legal disclaimers.
[1]
[1]
[1]
Table 361
Rev. 1.1 — 10 March 2011
for the register attributes.
[1]
Function
Interrupt set-enable bits.
Write:
0 = no effect
1 = enable interrupt.
Read:
0 = interrupt disabled
1 = interrupt enabled.
for the register attributes.
[1]
for more information.
Description
Enables an interrupt or exception.
Disables an interrupt or exception.
Sets the pending status of interrupt or exception to 1.
Clears the pending status of interrupt or exception to 0.
Reads the pending status of interrupt or exception.
This function returns non-zero value if the pending status is set
to 1.
Sets the priority of an interrupt or exception with configurable
priority level to 1.
Reads the priority of an interrupt or exception with configurable
priority level. This function returns the current priority level.
Chapter 25: LPC122x Appendix ARM Cortex-M0
UM10441
© NXP B.V. 2011. All rights reserved.
410 of 442

Related parts for OM13008,598