I'm having trouble installing the EINT0 interrupt. I can install the Timer0 interrupt no problem: T0TCR = 1; // Timer0 Enable VICVectAddr0 = (unsigned long)MyISR; // set interrupt vector in 0 VICVectCntl0 = 0x20 | 4; // use it for Timer 0 Interrupt VICIntEnable = 0x00000010; // Enable Timer0 Interrupt If I run this code & examine VICIRQStatus I get 0x00000010 as expected. But if I try to install EINT0 in the same place (VICVect0): VICVectAddr0 = (unsigned long)MyISR; // set interrupt vector in 0 VICVectCntl0 = 0x20 | 15; // use it for EINT0 Interrupt VICIntEnable = 0x00008000; // Enable EINT0 Interrupt and check VICIRQStatus I get 0x00000000 (nothing...) What am I doing wrong? I tried setting EXTINT = 1 but this doesn't seem to do any good. Thanks, Chip Burns
Message
EINT0 interrupt
2005-04-07 by chipburnssc
Attachments
- No local attachments were found for this message.