BowlerKernel
Public Member Functions | List of all members
com.neuronrobotics.sdk.dyio.peripherals.UARTChannel.UARTTxChannel Class Reference
Inheritance diagram for com.neuronrobotics.sdk.dyio.peripherals.UARTChannel.UARTTxChannel:
Inheritance graph
[legend]
Collaboration diagram for com.neuronrobotics.sdk.dyio.peripherals.UARTChannel.UARTTxChannel:
Collaboration graph
[legend]

Public Member Functions

 UARTTxChannel (DyIOChannel channel)
 
boolean putStream (ByteList stream) throws IOException
 
DyIOOutputStream getOutStream ()
 
boolean hasAsync ()
 
- Public Member Functions inherited from com.neuronrobotics.sdk.dyio.peripherals.DyIOAbstractPeripheral
 DyIOAbstractPeripheral (DyIOChannel channel, DyIOChannelMode myMode, boolean async)
 
DyIOChannelMode getClassMode ()
 
boolean isEnabled ()
 
boolean setMode ()
 
boolean setMode (boolean async)
 
boolean setMode (DyIOChannelMode mode, boolean async)
 
DyIOChannel getChannel ()
 
DyIOChannelMode getMode ()
 
boolean setValue (int value) throws InvalidResponseException
 
boolean setValue (ByteList value) throws InvalidResponseException
 
int getValue () throws InvalidResponseException
 
boolean SavePosition (int pos)
 
boolean configAdvancedAsyncNotEqual ()
 
boolean configAdvancedAsyncDeadBand (int deadbandSize)
 
boolean configAdvancedAsyncTreshhold (int threshholdValue, AsyncThreshholdEdgeType edgeType)
 
boolean configAdvancedAsyncAutoSample ()
 
boolean configAdvancedAsyncNotEqual (int msTime)
 
boolean configAdvancedAsyncDeadBand (int msTime, int deadbandSize)
 
boolean configAdvancedAsyncTreshhold (int msTime, int threshholdValue, AsyncThreshholdEdgeType edgeType)
 
boolean configAdvancedAsyncAutoSample (int msTime)
 
boolean flush ()
 
void setAsync (boolean b)
 
int getConfiguration ()
 

Detailed Description

The Class UARTTxChannel.

Definition at line 232 of file UARTChannel.java.

Constructor & Destructor Documentation

◆ UARTTxChannel()

com.neuronrobotics.sdk.dyio.peripherals.UARTChannel.UARTTxChannel.UARTTxChannel ( DyIOChannel  channel)

Instantiates a new UART tx channel.

Parameters
channelthe channel

Definition at line 242 of file UARTChannel.java.

References com.neuronrobotics.sdk.dyio.DyIOChannelMode.USART_TX.

Member Function Documentation

◆ getOutStream()

DyIOOutputStream com.neuronrobotics.sdk.dyio.peripherals.UARTChannel.UARTTxChannel.getOutStream ( )

Gets the out stream.

Returns
the out stream

Definition at line 267 of file UARTChannel.java.

◆ hasAsync()

boolean com.neuronrobotics.sdk.dyio.peripherals.UARTChannel.UARTTxChannel.hasAsync ( )

This method is to check if this peripheral is capable to be set as up as asynchronous.

Returns
if it cna be async

Reimplemented from com.neuronrobotics.sdk.dyio.peripherals.DyIOAbstractPeripheral.

Definition at line 274 of file UARTChannel.java.

◆ putStream()

boolean com.neuronrobotics.sdk.dyio.peripherals.UARTChannel.UARTTxChannel.putStream ( ByteList  stream) throws IOException

Put stream.

Parameters
streamthe stream
Returns
true, if successful
Exceptions
IOExceptionSignals that an I/O exception has occurred.

Definition at line 257 of file UARTChannel.java.

References com.neuronrobotics.sdk.dyio.DyIOOutputStream.write().

Referenced by com.neuronrobotics.sdk.dyio.peripherals.UARTChannel.sendBytes().

Here is the call graph for this function:

The documentation for this class was generated from the following file: