Package peak.can.basic
Enum TPCANType
- java.lang.Object
-
- java.lang.Enum<TPCANType>
-
- peak.can.basic.TPCANType
-
-
Enum Constant Summary
Enum Constants Enum Constant Description PCAN_TYPE_DNG
PCAN-Dongle 82C200PCAN_TYPE_DNG_EPP
PCAN-Dongle EPP 82C200PCAN_TYPE_DNG_SJA
PCAN-Dongle SJA1000PCAN_TYPE_DNG_SJA_EPP
PCAN-Dongle EPP SJA1000PCAN_TYPE_ISA
PCAN-ISA 82C200PCAN_TYPE_ISA_PHYTEC
PHYTEC ISAPCAN_TYPE_ISA_SJA
PCAN-ISA SJA1000PCAN_TYPE_NONE
Undefined, unknown or not selected PCAN type value
-
Method Summary
Modifier and Type Method Description byte
getValue()
The identifier of the CAN hardware typestatic TPCANType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static TPCANType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
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 Detail
-
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(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
getValue
public byte getValue()
The identifier of the CAN hardware type- Returns:
- Identifier of the CAN hardware type
-
-