Quantcast
Channel: Keil Discussion Forum RSS Feed
Viewing all articles
Browse latest Browse all 3049

ARM: LPC1768 GPIO interrupts

$
0
0
Hi , I m new to CORTEX M3 , and was trying to get the GPIO interrupts functionality on LPC1768 working, however , it doesnt seem to work, seems like the interrupt isn't enabled. Here is my code : #include<lpc17xx.h> int main() { SystemInit() ; LPC_GPIO1 -> FIODIR |= (1<<1) ; LPC_GPIO0 -> FIODIR &= ~(1<<0) ; LPC_GPIOINT -> IO0IntEnR = (1<&

Viewing all articles
Browse latest Browse all 3049

Trending Articles