Hi, I'm working with the 2181 Ver. 2.0 chip, and I'm having trouble implementing the interrupt. I've got it coded so that on receiving the signal from IRQ2, a function i've called putInArray gets called. But it's not happening. I can see in the disassembled code my function putInArray is there, but when the interrupt occurs, the function gets bypassed altogether and the program goes to _interrupt, and from there to _common and then back to main. I have enable_interrupts in there and have used the predefined interrupt function as it appears in the library of C functions like so: interrupt(SIGIRQ2,putInArray) Any suggestions? Thanks, Rachel _________________________________________________________________ MSN Photos is the easiest way to share and print your photos: http://photos.msn.com/support/worldwide.aspx |
interrupt function not being entered
Started by ●September 2, 2002