Enum TPCANType

java.lang.Object
java.lang.Enum<TPCANType>
peak.can.basic.TPCANType
All Implemented Interfaces:
Serializable, Comparable<TPCANType>, java.lang.constant.Constable

public enum TPCANType extends Enum<TPCANType>
Represents a PCAN device
  • Enum Constant Details

    • PCAN_TYPE_NONE

      public static final TPCANType PCAN_TYPE_NONE
      Undefined, unknown or not selected PCAN type value
    • PCAN_TYPE_ISA

      public static final TPCANType PCAN_TYPE_ISA
      PCAN-ISA 82C200
    • PCAN_TYPE_ISA_SJA

      public static final TPCANType PCAN_TYPE_ISA_SJA
      PCAN-ISA SJA1000
    • PCAN_TYPE_ISA_PHYTEC

      public static final TPCANType PCAN_TYPE_ISA_PHYTEC
      PHYTEC ISA
    • PCAN_TYPE_DNG

      public static final TPCANType PCAN_TYPE_DNG
      PCAN-Dongle 82C200
    • PCAN_TYPE_DNG_EPP

      public static final TPCANType PCAN_TYPE_DNG_EPP
      PCAN-Dongle EPP 82C200
    • PCAN_TYPE_DNG_SJA

      public static final TPCANType PCAN_TYPE_DNG_SJA
      PCAN-Dongle SJA1000
    • PCAN_TYPE_DNG_SJA_EPP

      public static final TPCANType PCAN_TYPE_DNG_SJA_EPP
      PCAN-Dongle EPP SJA1000
  • Method Details

    • values

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

      public static TPCANType valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
      NullPointerException - if the argument is null
    • getValue

      public byte getValue()
      The identifier of the CAN hardware type
      Returns:
      Identifier of the CAN hardware type