Mode

public enum Mode : UInt8

The Mode enumerate includes the available output modes. The default output mode in most cases is pushPull. The pushPull mode enables the digital pin to output high and low voltage levels while the open-drain output cannot truly output a high level.

  • Undocumented

    Declaration

    Swift

    case pushPull = 1
  • Undocumented

    Declaration

    Swift

    case openDrain