public static enum SerialComFTDID2XX.FLOWCTRL extends Enum<SerialComFTDID2XX.FLOWCTRL>
Pre-defined enum constants for flow control of a serial frame.
| Enum Constant and Description |
|---|
FT_FLOW_DTR_DSR
Flow control through DTR and DSR lines.
|
FT_FLOW_NONE
No flow control.
|
FT_FLOW_RTS_CTS
Flow control through RTS and CTS lines.
|
FT_FLOW_XON_XOFF
Flow control through software.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getValue() |
static SerialComFTDID2XX.FLOWCTRL |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SerialComFTDID2XX.FLOWCTRL[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SerialComFTDID2XX.FLOWCTRL FT_FLOW_NONE
No flow control. Application is responsible to manage data buffers.
public static final SerialComFTDID2XX.FLOWCTRL FT_FLOW_RTS_CTS
Flow control through RTS and CTS lines.
public static final SerialComFTDID2XX.FLOWCTRL FT_FLOW_DTR_DSR
Flow control through DTR and DSR lines.
public static final SerialComFTDID2XX.FLOWCTRL FT_FLOW_XON_XOFF
Flow control through software.
public static SerialComFTDID2XX.FLOWCTRL[] values()
for (SerialComFTDID2XX.FLOWCTRL c : SerialComFTDID2XX.FLOWCTRL.values()) System.out.println(c);
public static SerialComFTDID2XX.FLOWCTRL 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.