-
This adds level interrupt support to the pca953x driver. In the IRQ routine, the input status register is compared to the irq_trig_level_high and irq_trig_level_low parameters. If the value from the input status register aligns with one of the parameters, a level interrupt is issued. After processing all nested interrupts, the pending function is called again, to determine if the level interrupt condition is still active. If this is the case, the nested interrupts are processed again.
a6a77deb
Loading