Context
Object Hierarchy:
Description:
[ Compact ]
[ CCode ( cname = "struct ftdi_context" , cprefix = "ftdi_" , free_function = "ftdi_free" ) ]
public class Context
[ CCode ( cname = "struct ftdi_context" , cprefix = "ftdi_" , free_function = "ftdi_free" ) ]
public class Context
Namespace: FTDI
Package: libftdi
Content:
Creation methods:
- public Context ()
Methods:
- public void async_complete (int wait_for_more)
- public void deinit ()
- public int disable_bitbang ()
- public void eeprom_setsize (EEPROM eeprom, int size)
- public int enable_bitbang (uchar bitmask)
- public int erase_eeprom ()
- public unowned string get_error_string ()
- public int get_latency_timer (out uchar latency)
- public int init ()
- public int poll_modem_status (out ushort status)
- public int read_chipid (out uint chipid)
- public int read_data (uchar[] buf)
- public int read_data_get_chunksize (out int chunksize)
- public int read_data_set_chunksize (int chunksize)
- public int read_eeprom (uchar[] eeprom)
- public int read_eeprom_getsize (uchar[] eeprom)
- public int read_pins (out uchar pins)
- public int set_baudrate (int baudrate)
- public int set_bitmode (uchar bitmask, uchar mode)
- public int set_error_char (uchar errorch, uchar enable)
- public int set_event_char (uchar eventch, uchar enable)
- public int set_interface (Interface iface)
- public int set_latency_timer (uchar latency)
- public int set_line_property (BitsType bits, StopBitsType sbit, ParityType parity)
- public int set_line_property2 (BitsType bits, StopBitsType sbit, ParityType parity, BreakType break_type)
- public void set_usbdev (DeviceHandle usbdev)
- public int setdtr (int state)
- public int setdtr_rts (int dtr, int rts)
- public int setflowctrl (int flowctrl)
- public int setrts (int state)
- public int usb_close ()
- public int usb_find_all (out DeviceList devlist, int vendor, int product)
- public int usb_get_strings (Device usbdev, char[] manufacturer, int manufacturer_len, char[] description, int description_len, char[] serial, int serial_len)
- public int usb_open (int vendor, int product)
- public int usb_open_desc (int vendor, int product, string description, string serial)
- public int usb_open_dev (Device usbdev)
- public int usb_purge_buffers ()
- public int usb_purge_rx_buffers ()
- public int usb_purge_tx_buffers ()
- public int usb_reset ()
- public int write_data (uchar[] buf)
- public int write_data_async (uchar[] buf)
- public int write_data_get_chunksize (out int chunksize)
- public int write_data_set_chunksize (int chunksize)
- public int write_eeprom (uchar[] eeprom)
Fields:
- public int @interface
- public char[] async_usb_buffer
- public int baudrate
- public uchar bitbang_enabled
- public uchar bitbang_mode
- public int eeprom_size
- public unowned string error_str
- public int in_ep
- public int index
- public int out_ep
- public uchar[] readbuffer
- public uint readbuffer_chunksize
- public uint readbuffer_offset
- public uint readbuffer_remaining
- public ChipType type
- public DeviceHandle usb_dev
- public int usb_read_timeout
- public int usb_write_timeout
- public uint writebuffer_chunksize