Package peak.can.basic
Enum TPCANType
- All Implemented Interfaces:
Serializable
,Comparable<TPCANType>
,java.lang.constant.Constable
Represents a PCAN device
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionPCAN-Dongle 82C200PCAN-Dongle EPP 82C200PCAN-Dongle SJA1000PCAN-Dongle EPP SJA1000PCAN-ISA 82C200PHYTEC ISAPCAN-ISA SJA1000Undefined, unknown or not selected PCAN type value -
Method Summary
-
Enum Constant Details
-
PCAN_TYPE_NONE
Undefined, unknown or not selected PCAN type value -
PCAN_TYPE_ISA
PCAN-ISA 82C200 -
PCAN_TYPE_ISA_SJA
PCAN-ISA SJA1000 -
PCAN_TYPE_ISA_PHYTEC
PHYTEC ISA -
PCAN_TYPE_DNG
PCAN-Dongle 82C200 -
PCAN_TYPE_DNG_EPP
PCAN-Dongle EPP 82C200 -
PCAN_TYPE_DNG_SJA
PCAN-Dongle SJA1000 -
PCAN_TYPE_DNG_SJA_EPP
PCAN-Dongle EPP SJA1000
-
-
Method Details
-
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
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 nameNullPointerException
- if the argument is null
-
getValue
public byte getValue()The identifier of the CAN hardware type- Returns:
- Identifier of the CAN hardware type
-