BowlerKernel
|
The Class UARTRxChannel.
Definition at line 284 of file UARTChannel.java.
com.neuronrobotics.sdk.dyio.peripherals.UARTChannel.UARTRxChannel.UARTRxChannel | ( | DyIOChannel | channel | ) |
Instantiates a new UART rx channel.
channel | the channel |
Definition at line 294 of file UARTChannel.java.
References com.neuronrobotics.sdk.dyio.DyIOChannel.addChannelEventListener(), and com.neuronrobotics.sdk.dyio.DyIOChannelMode.USART_RX.
byte [] com.neuronrobotics.sdk.dyio.peripherals.UARTChannel.UARTRxChannel.getBytes | ( | int | inStreamSize | ) |
Gets the bytes.
inStreamSize | the in stream size |
Definition at line 327 of file UARTChannel.java.
References com.neuronrobotics.sdk.dyio.DyIOInputStream.read().
Referenced by com.neuronrobotics.sdk.dyio.peripherals.UARTChannel.getBytes().
DyIOInputStream com.neuronrobotics.sdk.dyio.peripherals.UARTChannel.UARTRxChannel.getInputStream | ( | ) |
int com.neuronrobotics.sdk.dyio.peripherals.UARTChannel.UARTRxChannel.getInStreamSize | ( | ) |
Gets the in stream size.
Definition at line 317 of file UARTChannel.java.
References com.neuronrobotics.sdk.dyio.DyIOInputStream.available().
Referenced by com.neuronrobotics.sdk.dyio.peripherals.UARTChannel.getBytes(), and com.neuronrobotics.sdk.dyio.peripherals.UARTChannel.getInStreamSize().
boolean com.neuronrobotics.sdk.dyio.peripherals.UARTChannel.UARTRxChannel.hasAsync | ( | ) |
This method is to check if this peripheral is capable to be set as up as asynchronous.
Reimplemented from com.neuronrobotics.sdk.dyio.peripherals.DyIOAbstractPeripheral.
Definition at line 356 of file UARTChannel.java.
void com.neuronrobotics.sdk.dyio.peripherals.UARTChannel.UARTRxChannel.onChannelEvent | ( | DyIOChannelEvent | e | ) |
On channel event.
e | the e |
Implements com.neuronrobotics.sdk.dyio.IChannelEventListener.
Definition at line 307 of file UARTChannel.java.
References com.neuronrobotics.sdk.dyio.DyIOChannelEvent.getData(), and com.neuronrobotics.sdk.dyio.DyIOInputStream.write().