Content originally posted in LPCWare by gweppler on Thu Jan 26 16:56:02 MST 2012
Thank you Rob and Zero for your responses. Sorry for the typo in the code. However, I don't think that's relevant to my problem, because of how GPIOINTMAP looks before and upon entry to the handler:
1) After init (line LPC_GPIOINT-->IO0IntEnR |= KEY_PINS; )
[ATTACH]655[/ATTACH]
2) After pressing a single button only, IO0IntStatR has multiple bits set upon entry to the EINT3_IRQHandler (breakpoint on first line of handler):
[ATTACH]657[/ATTACH]
The IO0IntStatR's 0xc0 shows that pins 0.6 and 0.7 registered a rising edge, where in fact only the button on 0.6 was pressed.
Given Rob's indication that this should work, and the fact that also this time the oscilloscope didn't show any activity on 0.7 while the 0.6 button was pressed, can I assume I may be working on a faulty MCU here?