public static enum SerialCommConfig.StopBits extends Enum<SerialCommConfig.StopBits>
Enum Constant and Description |
---|
ONE
One stop bit is used
|
ONE_AND_HALF
1.5 stop bits are used
|
TWO
Two stop bits are used
|
Modifier and Type | Method and Description |
---|---|
static SerialCommConfig.StopBits |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SerialCommConfig.StopBits[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SerialCommConfig.StopBits ONE
public static final SerialCommConfig.StopBits ONE_AND_HALF
public static final SerialCommConfig.StopBits TWO
public static SerialCommConfig.StopBits[] values()
for (SerialCommConfig.StopBits c : SerialCommConfig.StopBits.values()) System.out.println(c);
public static SerialCommConfig.StopBits 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