sprint 1-alpha
Public Member Functions | Static Public Member Functions | Public Attributes
sprint::Tftdiserial< handle > Class Template Reference

Communication handle. More...

#include <ftdiserial.h>

Inherits if_copiable< handle >.

List of all members.

Public Member Functions

 Tftdiserial (int index)
 Open a serial interface for both reading/writing.
bool open (int index)
bool set_timeout (int read, int write)
bool set_queue_lenght (int l)
unsigned int queue_lenght ()
bool disable_flow_control ()
bool set_flow_control (unsigned int flow_control, unsigned char xOn, unsigned char xOff)
bool set_format (unsigned int word_lenght=FT_BITS_8, unsigned int stop_bits=FT_STOP_BITS_1, int parity=FT_PARITY_NONE)
bool set_baud_rate (unsigned int rate)
void close ()
int read (char *buf, unsigned int size)
int write (const char *buf, unsigned int size)
bool good () const

Static Public Member Functions

static const char * ErrToStr (int err)

Public Attributes

FT_HANDLE m_handle
FT_STATUS m_ftStatus

Detailed Description

template<bool handle>
class sprint::Tftdiserial< handle >

Communication handle.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines