Skip to content
  • Tobias Kahlki's avatar
    [DRIVER][PCA953X] Add level interrupt support · a6a77deb
    Tobias Kahlki authored and Tobias Kahlki's avatar Tobias Kahlki committed
    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