Module com.pi4j

Enum Class HeaderPins

java.lang.Object
java.lang.Enum<HeaderPins>
com.pi4j.boardinfo.definition.HeaderPins
All Implemented Interfaces:
Serializable, Comparable<HeaderPins>, Constable

public enum HeaderPins extends Enum<HeaderPins>
List of pins in a Raspberry Pi header.
  • Enum Constant Details

    • HEADER_8

      public static final HeaderPins HEADER_8
    • HEADER_26_TYPE_1

      public static final HeaderPins HEADER_26_TYPE_1
    • HEADER_26_TYPE_2

      public static final HeaderPins HEADER_26_TYPE_2
    • HEADER_40

      public static final HeaderPins HEADER_40
    • COMPUTE_J5

      public static final HeaderPins COMPUTE_J5
    • COMPUTE_J6

      public static final HeaderPins COMPUTE_J6
  • Method Details

    • values

      public static HeaderPins[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static HeaderPins valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • getLabel

      public String getLabel()
    • getPins

      public List<HeaderPin> getPins()