AnsweredAssumed Answered

Interrupt on LPC812

Question asked by Theodoros Verykios on Aug 8, 2017
Latest reply on Aug 8, 2017 by Kerry Zhou

Hi,

 

A few months ago, I used to set an interrupt on pin 0.13 with the following code:

 

LPC_SYSCON->PINTSEL[0] = (uint32_t) 0;
GPIOSetDir(0, 13, 0);
LPC_PIN_INT->ISEL &= ~((1 << 13) | (~0xff));
LPC_PIN_INT->SIENF = 1;
NVIC_EnableIRQ(PININT0_IRQn);

 

and even though I have not changed any parts of the code since then, I find it impossible to enter the ISR even though a breakpoint is placed inside the routine.

Could you please let me know whether I am missing something in this case?

Outcomes