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