Public Member Functions | Static Public Member Functions | Public Attributes | Private Attributes | List of all members
redswallow.uart_interface.UartInterface Class Reference

Public Member Functions

def __del__ (self)
 
def __init__ (self, port, baud=1000000, rtscts=True)
 
def clear_buffer (self)
 
def close (self)
 
def get_timeout (self)
 
def read (self, number_of_bytes)
 
def set_mode_blocking (self)
 
def set_mode_nonblocking (self)
 
def set_timeout (self, new_timeout)
 
def write (self, message)
 

Static Public Member Functions

def enum_device (vid_pid)
 
def setup (vid_pid=None, com_port='', baudrate=921600)
 

Public Attributes

 blocking_timeout
 
 mode_blocking
 

Private Attributes

 __ser
 

Detailed Description

Definition at line 38 of file uart_interface.py.

Constructor & Destructor Documentation

def redswallow.uart_interface.UartInterface.__init__ (   self,
  port,
  baud = 1000000,
  rtscts = True 
)

Definition at line 58 of file uart_interface.py.

def redswallow.uart_interface.UartInterface.__del__ (   self)

Definition at line 65 of file uart_interface.py.

Member Function Documentation

def redswallow.uart_interface.UartInterface.clear_buffer (   self)

Definition at line 108 of file uart_interface.py.

def redswallow.uart_interface.UartInterface.close (   self)

Definition at line 104 of file uart_interface.py.

def redswallow.uart_interface.UartInterface.enum_device (   vid_pid)
static

Definition at line 113 of file uart_interface.py.

def redswallow.uart_interface.UartInterface.get_timeout (   self)

Definition at line 96 of file uart_interface.py.

def redswallow.uart_interface.UartInterface.read (   self,
  number_of_bytes 
)

Definition at line 77 of file uart_interface.py.

def redswallow.uart_interface.UartInterface.set_mode_blocking (   self)

Definition at line 90 of file uart_interface.py.

def redswallow.uart_interface.UartInterface.set_mode_nonblocking (   self)

Definition at line 84 of file uart_interface.py.

def redswallow.uart_interface.UartInterface.set_timeout (   self,
  new_timeout 
)

Definition at line 99 of file uart_interface.py.

def redswallow.uart_interface.UartInterface.setup (   vid_pid = None,
  com_port = '',
  baudrate = 921600 
)
static

Definition at line 40 of file uart_interface.py.

def redswallow.uart_interface.UartInterface.write (   self,
  message 
)

Definition at line 71 of file uart_interface.py.

Member Data Documentation

redswallow.uart_interface.UartInterface.__ser
private

Definition at line 61 of file uart_interface.py.

redswallow.uart_interface.UartInterface.blocking_timeout

Definition at line 60 of file uart_interface.py.

redswallow.uart_interface.UartInterface.mode_blocking

Definition at line 59 of file uart_interface.py.


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


tdk_robokit
Author(s): TDK-OpenSource
autogenerated on Sat Jan 11 2020 03:18:39