Package | Description |
---|---|
jdk.dio.uart |
Interfaces and classes for controlling and reading and writing from/to Universal Asynchronous Receiver/Transmitter
(UART), with optional Modem signals control.
|
Modifier and Type | Method and Description |
---|---|
UARTConfig.Builder |
UARTConfig.Builder.setBaudRate(int baudRate)
Sets the speed in Bauds (default value is
9600 if not set). |
UARTConfig.Builder |
UARTConfig.Builder.setChannelNumber(int channelNumber)
Sets the channel number (default value is
UNASSIGNED if not
set). |
UARTConfig.Builder |
UARTConfig.Builder.setControllerName(java.lang.String controllerName)
Sets the controller name (default value is
null if not set). |
UARTConfig.Builder |
UARTConfig.Builder.setControllerNumber(int controllerNumber)
Sets the controller number (default value is
UNASSIGNED if
not set). |
UARTConfig.Builder |
UARTConfig.Builder.setDataBits(int dataBits)
Sets the number of bits per character (default value is
DATABITS_8 if not set). |
UARTConfig.Builder |
UARTConfig.Builder.setFlowControlMode(int flowcontrol)
Sets the flow control mode (default value is
FLOWCONTROL_NONE
if not set). |
UARTConfig.Builder |
UARTConfig.Builder.setInputBufferSize(int inputBufferSize)
Sets the requested input buffer size (default value is
UNASSIGNED if not set). |
UARTConfig.Builder |
UARTConfig.Builder.setOutputBufferSize(int outputBufferSize)
Sets the requested output buffer size (default value is
UNASSIGNED if not set). |
UARTConfig.Builder |
UARTConfig.Builder.setParity(int parity)
Sets the parity (default value is
PARITY_NONE if not set). |
UARTConfig.Builder |
UARTConfig.Builder.setStopBits(int stopBits)
Sets the number of stop bits per character (default value is
STOPBITS_1 if not set). |
Copyright © 2012, 2015, Oracle and/or its affiliates. All rights reserved.
Legal Notices