PCI9056 interrupt problem

For help, I drive in the development of PCI9056 chip, the interrupt handler, the interrupt clear, then allowed to interrupt, interrupt register interrupt status remains effective, automatic to interrupt, dead circulation. In particular when the interrupt, interrupt register 15 to 1 proved to be interrupted, and then enter the interrupt routines, I put the eighth position 0, clear interrupt, 15 to 0, then the eighth and 11 position 1 is allowed to interrupt, but the 15 automatic variable is 1, causing the next not interrupted, but also because 15 to 1 caused the interrupt illusion, dead circulation. Who will help me God,!!!

Started by Harvey at November 17, 2016 - 5:43 PM

Note that interrupts are not be removed.

Posted by Berger at November 27, 2016 - 6:09 PM

But when debugging, the eighth bit clear, is that the interrupt, then registers, interrupt enable bit is invalid, but open interrupt, and effective. Very strange, check a lot of information is that operation, but is not successful!!

Posted by Harvey at November 30, 2016 - 6:40 PM