![]() |
LPCOpen Platform for LPC112X microcontrollers
112X
LPCOpen Platform for the NXP LPC112X family of Microcontrollers
|
FIXME
These are the interrupt vector names and the NVIC IRQ number mapping used for the LPC112x family. You can override any WEAK function with a function in your application. If you do not create a function with one of these names in your application, the vector will be routed to a default handler (dead loop).
Use example
/* Function created that handles PININT7 interrupt */ void PININT7_IRQHandler(void) { Chip_PININT_ClearIntStatus(LPC_PININT, PININTCH7); Board_LED_Toggle(0); } /* Enable IRQ for PININT7 */ NVIC_EnableIRQ(PININT7_IRQn);
Also see CHIP_1125: CHIP_1125 peripheral interrupt numbers
M0 Core default handler names
void ResetISR(void); (Reset_IRQn)
WEAK void NMI_Handler(void); (NonMaskableInt_IRQn)
Peripheral vector names and mapped
WEAK void SPI0_IRQHandler(void); (SPI0_IRQn)