#include <ftdi.h>
Data Fields | |
usb_dev_handle * | usb_dev |
libusb's usb_dev_handle | |
int | usb_read_timeout |
usb read timeout | |
int | usb_write_timeout |
usb write timeout | |
enum ftdi_chip_type | type |
FTDI chip type. | |
int | baudrate |
baudrate | |
unsigned char | bitbang_enabled |
bitbang mode state | |
unsigned char * | readbuffer |
pointer to read buffer for ftdi_read_data | |
unsigned int | readbuffer_offset |
read buffer offset | |
unsigned int | readbuffer_remaining |
number of remaining data in internal read buffer | |
unsigned int | readbuffer_chunksize |
read buffer chunk size | |
unsigned int | writebuffer_chunksize |
write buffer chunk size | |
int | interface |
FT2232C interface number: 0 or 1. | |
int | index |
FT2232C index number: 1 or 2. | |
int | in_ep |
FT2232C end points: 1 or 2. | |
int | out_ep |
unsigned char | bitbang_mode |
Bitbang mode. 1: (default) Normal bitbang mode, 2: FT2232C SPI bitbang mode. | |
int | eeprom_size |
EEPROM size. Default is 128 bytes for 232BM and 245BM chips. | |
char * | error_str |
String representation of last error. | |
char * | async_usb_buffer |
Buffer needed for async communication. | |
unsigned int | async_usb_buffer_size |
Number of URB-structures we can buffer. |
Do not access directly if possible.
struct usb_dev_handle* ftdi_context::usb_dev |
libusb's usb_dev_handle
usb read timeout
usb write timeout
FTDI chip type.
baudrate
unsigned char ftdi_context::bitbang_enabled |
bitbang mode state
unsigned char* ftdi_context::readbuffer |
pointer to read buffer for ftdi_read_data
unsigned int ftdi_context::readbuffer_offset |
read buffer offset
unsigned int ftdi_context::readbuffer_remaining |
number of remaining data in internal read buffer
unsigned int ftdi_context::readbuffer_chunksize |
read buffer chunk size
unsigned int ftdi_context::writebuffer_chunksize |
write buffer chunk size
FT2232C interface number: 0 or 1.
FT2232C index number: 1 or 2.
FT2232C end points: 1 or 2.
unsigned char ftdi_context::bitbang_mode |
Bitbang mode. 1: (default) Normal bitbang mode, 2: FT2232C SPI bitbang mode.
EEPROM size. Default is 128 bytes for 232BM and 245BM chips.
char* ftdi_context::error_str |
String representation of last error.
Buffer needed for async communication.
unsigned int ftdi_context::async_usb_buffer_size |
Number of URB-structures we can buffer.