|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectcom.moxa.mxuportapi.MxUPort.IoctlMode
public static class MxUPort.IoctlMode
This class represents serial parameters such as baud rate, data bits, parity, and stop bits.
| Field Summary | |
|---|---|
int |
baudRate
Actual baud rate. |
int |
dataBits
Available constants: DATA_BITS_5, DATA_BITS_6, DATA_BITS_7, DATA_BITS_8. |
int |
parity
Available constants: PARITY_NONE, PARITY_ODD, PARITY_EVEN, PARITY_MARK, PARITY_SPACE. |
int |
stopBits
Available constants: STOP_BITS_1, STOP_BITS_1_5, STOP_BITS_2. |
| Constructor Summary | |
|---|---|
MxUPort.IoctlMode()
|
|
MxUPort.IoctlMode(int baudRate,
int dataBits,
int parity,
int stopBits)
|
|
| Method Summary |
|---|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public int baudRate
public int dataBits
DATA_BITS_5, DATA_BITS_6, DATA_BITS_7, DATA_BITS_8. The default is DATA_BITS_8.
public int parity
PARITY_NONE, PARITY_ODD, PARITY_EVEN, PARITY_MARK, PARITY_SPACE. The default is PARITY_NONE.
public int stopBits
STOP_BITS_1, STOP_BITS_1_5, STOP_BITS_2. The default is STOP_BITS_1.
| Constructor Detail |
|---|
public MxUPort.IoctlMode()
public MxUPort.IoctlMode(int baudRate,
int dataBits,
int parity,
int stopBits)
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||