OpenOCD
mpsse_ctx Struct Reference
Collaboration diagram for mpsse_ctx:

Data Fields

uint8_t in_ep
 
uint16_t index
 
uint8_t interface
 
uint16_t max_packet_size
 
uint8_t out_ep
 
uint8_t * read_buffer
 
uint8_t * read_chunk
 
unsigned read_chunk_size
 
unsigned read_count
 
struct bit_copy_queue read_queue
 
unsigned read_size
 
int retval
 
enum ftdi_chip_type type
 
struct libusb_context * usb_ctx
 
struct libusb_device_handle * usb_dev
 
unsigned int usb_read_timeout
 
unsigned int usb_write_timeout
 
uint8_t * write_buffer
 
unsigned write_count
 
unsigned write_size
 

Detailed Description

Definition at line 54 of file mpsse.c.

Field Documentation

◆ in_ep

uint8_t mpsse_ctx::in_ep

Definition at line 59 of file mpsse.c.

Referenced by mpsse_flush(), and open_matching_device().

◆ index

uint16_t mpsse_ctx::index

Definition at line 62 of file mpsse.c.

Referenced by mpsse_open(), mpsse_purge(), and open_matching_device().

◆ interface

uint8_t mpsse_ctx::interface

Definition at line 63 of file mpsse.c.

Referenced by mpsse_open(), and open_matching_device().

◆ max_packet_size

uint16_t mpsse_ctx::max_packet_size

Definition at line 61 of file mpsse.c.

Referenced by open_matching_device(), and read_cb().

◆ out_ep

uint8_t mpsse_ctx::out_ep

Definition at line 60 of file mpsse.c.

Referenced by mpsse_flush(), and open_matching_device().

◆ read_buffer

uint8_t* mpsse_ctx::read_buffer

Definition at line 68 of file mpsse.c.

Referenced by buffer_add_read(), mpsse_close(), mpsse_open(), and read_cb().

◆ read_chunk

uint8_t* mpsse_ctx::read_chunk

Definition at line 71 of file mpsse.c.

Referenced by mpsse_close(), mpsse_flush(), mpsse_open(), and read_cb().

◆ read_chunk_size

unsigned mpsse_ctx::read_chunk_size

Definition at line 72 of file mpsse.c.

Referenced by mpsse_flush(), and mpsse_open().

◆ read_count

unsigned mpsse_ctx::read_count

Definition at line 70 of file mpsse.c.

Referenced by buffer_add_read(), buffer_read_space(), mpsse_flush(), mpsse_purge(), and read_cb().

◆ read_queue

struct bit_copy_queue mpsse_ctx::read_queue

Definition at line 72 of file mpsse.c.

Referenced by buffer_add_read(), mpsse_close(), mpsse_flush(), mpsse_open(), and mpsse_purge().

◆ read_size

unsigned mpsse_ctx::read_size

Definition at line 69 of file mpsse.c.

Referenced by buffer_add_read(), buffer_read_space(), and mpsse_open().

◆ retval

◆ type

enum ftdi_chip_type mpsse_ctx::type

Definition at line 63 of file mpsse.c.

Referenced by mpsse_is_high_speed(), and open_matching_device().

◆ usb_ctx

struct libusb_context* mpsse_ctx::usb_ctx

Definition at line 55 of file mpsse.c.

Referenced by mpsse_close(), mpsse_flush(), mpsse_open(), and open_matching_device().

◆ usb_dev

struct libusb_device_handle* mpsse_ctx::usb_dev

Definition at line 56 of file mpsse.c.

Referenced by mpsse_close(), mpsse_flush(), mpsse_open(), mpsse_purge(), and open_matching_device().

◆ usb_read_timeout

unsigned int mpsse_ctx::usb_read_timeout

Definition at line 58 of file mpsse.c.

Referenced by mpsse_flush(), and mpsse_open().

◆ usb_write_timeout

unsigned int mpsse_ctx::usb_write_timeout

Definition at line 57 of file mpsse.c.

Referenced by mpsse_flush(), mpsse_open(), mpsse_purge(), and open_matching_device().

◆ write_buffer

uint8_t* mpsse_ctx::write_buffer

Definition at line 65 of file mpsse.c.

Referenced by buffer_write(), buffer_write_byte(), mpsse_close(), mpsse_flush(), mpsse_open(), and write_cb().

◆ write_count

unsigned mpsse_ctx::write_count

◆ write_size

unsigned mpsse_ctx::write_size

Definition at line 66 of file mpsse.c.

Referenced by buffer_write(), buffer_write_byte(), buffer_write_space(), and mpsse_open().


The documentation for this struct was generated from the following file: