Module com.pi4j

Enum Class BoardModel

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

public enum BoardModel extends Enum<BoardModel>
  • Enum Constant Details

    • MODEL_1_A

      public static final BoardModel MODEL_1_A
    • MODEL_1_A_PLUS

      public static final BoardModel MODEL_1_A_PLUS
    • MODEL_3_A_PLUS

      public static final BoardModel MODEL_3_A_PLUS
    • MODEL_1_B

      public static final BoardModel MODEL_1_B
    • MODEL_1_B_PLUS

      public static final BoardModel MODEL_1_B_PLUS
    • MODEL_2_B

      public static final BoardModel MODEL_2_B
    • MODEL_2_B_V1_2

      public static final BoardModel MODEL_2_B_V1_2
    • MODEL_3_B

      public static final BoardModel MODEL_3_B
    • MODEL_3_B_PLUS

      public static final BoardModel MODEL_3_B_PLUS
    • MODEL_4_B

      public static final BoardModel MODEL_4_B
    • MODEL_400

      public static final BoardModel MODEL_400
    • MODEL_5_B

      public static final BoardModel MODEL_5_B
    • COMPUTE_1

      public static final BoardModel COMPUTE_1
    • COMPUTE_3

      public static final BoardModel COMPUTE_3
    • COMPUTE_3_PLUS

      public static final BoardModel COMPUTE_3_PLUS
    • COMPUTE_4

      public static final BoardModel COMPUTE_4
    • COMPUTE_4_SODIMM

      public static final BoardModel COMPUTE_4_SODIMM
    • ZERO_PCB_1_2

      public static final BoardModel ZERO_PCB_1_2
    • ZERO_PCB_1_3

      public static final BoardModel ZERO_PCB_1_3
    • ZERO_W

      public static final BoardModel ZERO_W
    • ZERO_V2

      public static final BoardModel ZERO_V2
    • PICO

      public static final BoardModel PICO
    • PICO_W

      public static final BoardModel PICO_W
    • PICO_2

      public static final BoardModel PICO_2
    • PICO_2_W

      public static final BoardModel PICO_2_W
    • UNKNOWN

      public static final BoardModel UNKNOWN
  • Method Details

    • values

      public static BoardModel[] 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 BoardModel 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
    • getByBoardCode

      public static BoardModel getByBoardCode(String boardCode) throws Exception
      Throws:
      Exception
    • getByBoardName

      public static BoardModel getByBoardName(String boardName)
    • getAllBoardCodes

      public static List<String> getAllBoardCodes()
    • getName

      public String getName()
    • getLabel

      public String getLabel()
    • getBoardType

      public BoardType getBoardType()
    • getBoardCodes

      public List<String> getBoardCodes()
    • getModel

      public PiModel getModel()
    • getHeaderVersion

      public HeaderVersion getHeaderVersion()
    • getReleaseDate

      public LocalDate getReleaseDate()
    • getSoc

      public Soc getSoc()
    • getCpu

      public Cpu getCpu()
    • getNumberOfCpu

      public Integer getNumberOfCpu()
    • getVersionsProcessorSpeedInMhz

      public List<Integer> getVersionsProcessorSpeedInMhz()
    • getVersionsMemoryInKb

      public List<Integer> getVersionsMemoryInKb()
    • getVersionsMemoryInMb

      public List<Float> getVersionsMemoryInMb()
    • getVersionsMemoryInGb

      public List<Float> getVersionsMemoryInGb()
    • getRemarks

      public List<String> getRemarks()