InterruptMode

public enum InterruptMode : UInt8

The interrupt mode determines the edge to raise the interrupt: rising, falling or both edges. A rising edge is the transition of a digital input signal from high to low and a falling edge is from low to high.

  • Undocumented

    Declaration

    Swift

    case rising = 1
  • Undocumented

    Declaration

    Swift

    case falling
  • Undocumented

    Declaration

    Swift

    case bothEdge