public static enum SerialComFTDID2XX.STOPBITS extends Enum<SerialComFTDID2XX.STOPBITS>
Pre-defined enum constants for number of stop bits in a serial frame.
| Enum Constant and Description |
|---|
FT_STOP_BITS_1
Number of stop bits in one frame is 1.
|
FT_STOP_BITS_2
Number of stop bits in one frame is 2.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getValue() |
static SerialComFTDID2XX.STOPBITS |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SerialComFTDID2XX.STOPBITS[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SerialComFTDID2XX.STOPBITS FT_STOP_BITS_1
Number of stop bits in one frame is 1.
public static final SerialComFTDID2XX.STOPBITS FT_STOP_BITS_2
Number of stop bits in one frame is 2.
public static SerialComFTDID2XX.STOPBITS[] values()
for (SerialComFTDID2XX.STOPBITS c : SerialComFTDID2XX.STOPBITS.values()) System.out.println(c);
public static SerialComFTDID2XX.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 nullpublic int getValue()
Copyright © 2017. All rights reserved.