sprint 1-alpha
|
Communication handle. More...
#include <ftdiserial.h>
Inherits if_copiable< handle >.
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 |
Communication handle.