Struct libftdi1_sys::ftdi_context[][src]

#[repr(C)]
pub struct ftdi_context {
Show 21 fields pub usb_ctx: *mut libusb_context, pub usb_dev: *mut libusb_device_handle, pub usb_read_timeout: c_int, pub usb_write_timeout: c_int, pub type_: ftdi_chip_type, pub baudrate: c_int, pub bitbang_enabled: c_uchar, pub readbuffer: *mut c_uchar, pub readbuffer_offset: c_uint, pub readbuffer_remaining: c_uint, pub readbuffer_chunksize: c_uint, pub writebuffer_chunksize: c_uint, pub max_packet_size: c_uint, pub interface: c_int, pub index: c_int, pub in_ep: c_int, pub out_ep: c_int, pub bitbang_mode: c_uchar, pub eeprom: *mut ftdi_eeprom, pub error_str: *const c_char, pub module_detach_mode: ftdi_module_detach_mode,
}

Fields

usb_ctx: *mut libusb_contextusb_dev: *mut libusb_device_handleusb_read_timeout: c_intusb_write_timeout: c_inttype_: ftdi_chip_typebaudrate: c_intbitbang_enabled: c_ucharreadbuffer: *mut c_ucharreadbuffer_offset: c_uintreadbuffer_remaining: c_uintreadbuffer_chunksize: c_uintwritebuffer_chunksize: c_uintmax_packet_size: c_uintinterface: c_intindex: c_intin_ep: c_intout_ep: c_intbitbang_mode: c_uchareeprom: *mut ftdi_eepromerror_str: *const c_charmodule_detach_mode: ftdi_module_detach_mode

Trait Implementations

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.