We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
We are having a problem in that we are disabling external interrupt 1 (EX1) in order to prevent a task from happening, but, when we re-enable EX1, a pending IRQ is serviced. We would like to be able to clear the pending interrupt list as well as disabling EX1, but I haven't found the information to do so either in the datasheet or in these forums. Any suggestions on how to clear pending interrupts, specifically for EX1?
the flip of the interrupt pin does not cause an interrupt, it set a bit (look in 'the bible') that bit causes the interrupt to take place when and if the int is enabled. thus, if you want not to get the interrupt you need to clear said bit before enabling the interrupt.
Erik
from home, might have given you the bit name otherwise it is in TCON or TMOD