Enum Constant and Description |
---|
AD5940 |
AD7156 |
ADP5360 |
ADPD4K |
ADXL362 |
NAND_FLASH |
REF |
Modifier and Type | Method and Description |
---|---|
static ChipID |
getEnum(byte[] data) |
byte[] |
getID() |
ChipID |
getRefEnum(byte[] data) |
java.lang.String |
toString() |
static ChipID |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ChipID[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ChipID REF
public static final ChipID ADXL362
public static final ChipID ADPD4K
public static final ChipID ADP5360
public static final ChipID AD5940
public static final ChipID NAND_FLASH
public static final ChipID AD7156
public static ChipID[] values()
for (ChipID c : ChipID.values()) System.out.println(c);
public static ChipID valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static ChipID getEnum(byte[] data)
public ChipID getRefEnum(byte[] data)
getRefEnum
in interface BaseEnum
public java.lang.String toString()
toString
in class java.lang.Enum<ChipID>