public static enum SerialCommConfig.StopBits extends java.lang.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(java.lang.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(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 null