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

ARM: IRQ0 interrupt on Aduc7020

$
0
0
I am trying to run a simple interruption routine on a EVAL-ADUC7020QSPZ development board. The .hex file is properly generated with Keil without error, however the code does not work. What I expect is that when pressing the IRQ0 interrupt button of the board, the LED (output P4.2) status should be complemented. Here is my code : #include <ADuC7020.h> void IRQ_Handler(void) __irq; int main (void) { IRQEN = XIRQ0_BIT; GP4DAT = 0x04000000

Viewing all articles
Browse latest Browse all 3049

Trending Articles