public enum USBDriver extends Enum<USBDriver>
Enum Constant and Description |
---|
CP210x_VCP
Virtual COM with SiliconLab driver
|
VCOM_CDC
Virtual COM with Windows CDC driver
|
Modifier and Type | Method and Description |
---|---|
static USBDriver |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static USBDriver[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final USBDriver VCOM_CDC
public static final USBDriver CP210x_VCP
public static USBDriver[] values()
for (USBDriver c : USBDriver.values()) System.out.println(c);
public static USBDriver valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant
with the specified nameNullPointerException
- if the argument is null