Package com.pi4j.io.serial
Class SerialConfig
- java.lang.Object
-
- com.pi4j.io.serial.SerialConfig
-
public class SerialConfig extends Object
-
-
Constructor Summary
Constructors Constructor Description SerialConfig()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Baud
baud()
SerialConfig
baud(Baud baud)
DataBits
dataBits()
SerialConfig
dataBits(DataBits dataBits)
String
device()
SerialConfig
device(String device)
FlowControl
flowControl()
SerialConfig
flowControl(FlowControl flowControl)
Parity
parity()
SerialConfig
parity(Parity parity)
StopBits
stopBits()
SerialConfig
stopBits(StopBits stopBits)
String
toString()
-
-
-
Method Detail
-
device
public String device()
-
device
public SerialConfig device(String device)
-
baud
public Baud baud()
-
baud
public SerialConfig baud(Baud baud)
-
dataBits
public DataBits dataBits()
-
dataBits
public SerialConfig dataBits(DataBits dataBits)
-
parity
public Parity parity()
-
parity
public SerialConfig parity(Parity parity)
-
stopBits
public StopBits stopBits()
-
stopBits
public SerialConfig stopBits(StopBits stopBits)
-
flowControl
public FlowControl flowControl()
-
flowControl
public SerialConfig flowControl(FlowControl flowControl)
-
-