mpsse_ctx is only used within OpenOCD.
 
Symbols
loading...
Files
loading...

mpsse_ctx struct

Syntax

struct mpsse_ctx;
Implemented in mpsse.c:55

Fields

usb_ctx

No summary provided. Read more...

usb_dev

No summary provided. Read more...

usb_write_timeout

No summary provided. Read more...

usb_read_timeout

No summary provided. Read more...

in_ep

No summary provided. Read more...

out_ep

No summary provided. Read more...

max_packet_size

No summary provided. Read more...

index

No summary provided. Read more...

interface

No summary provided. Read more...

type

No summary provided. Read more...

write_buffer

No summary provided. Read more...

write_size

No summary provided. Read more...

write_count

No summary provided. Read more...

read_buffer

No summary provided. Read more...

read_size

No summary provided. Read more...

read_count

No summary provided. Read more...

read_chunk

No summary provided. Read more...

read_chunk_size

No summary provided. Read more...

read_queue

No summary provided. Read more...

retval

No summary provided. Read more...

References

LocationReferrerScopeText
mpsse.c:55
struct mpsse_ctx {
mpsse.h:36
struct mpsse_ctx;
ftdi.c:93mpsse_ctx
static struct mpsse_ctx *mpsse_ctx;
mpsse.c:152open_matching_device()
static bool open_matching_device(struct mpsse_ctx *ctx, const uint16_t vids[], const uint16_t pids[],
mpsse.c:330mpsse_open()
struct mpsse_ctx *mpsse_open(const uint16_t vids[], const uint16_t pids[], const char *description,
mpsse.c:333mpsse_open()
struct mpsse_ctx *ctx = calloc(1, sizeof(*ctx));
mpsse.c:405mpsse_close()
void mpsse_close(struct mpsse_ctx *ctx)
mpsse.c:416mpsse_close()
free(ctx);
mpsse.c:419mpsse_is_high_speed()
bool mpsse_is_high_speed(struct mpsse_ctx *ctx)
mpsse.c:424mpsse_purge()
void mpsse_purge(struct mpsse_ctx *ctx)
mpsse.c:447buffer_write_space()
static unsigned buffer_write_space(struct mpsse_ctx *ctx)
mpsse.c:453buffer_read_space()
static unsigned buffer_read_space(struct mpsse_ctx *ctx)
mpsse.c:458buffer_write_byte()
static void buffer_write_byte(struct mpsse_ctx *ctx, uint8_t data)
mpsse.c:465buffer_write()
static unsigned buffer_write(struct mpsse_ctx *ctx, const uint8_t *out, unsigned out_offset,
mpsse.c:475buffer_add_read()
static unsigned buffer_add_read(struct mpsse_ctx *ctx, uint8_t *in, unsigned in_offset,
mpsse.c:486mpsse_clock_data_out()
void mpsse_clock_data_out(struct mpsse_ctx *ctx, const uint8_t *out, unsigned out_offset,
mpsse.c:492mpsse_clock_data_in()
void mpsse_clock_data_in(struct mpsse_ctx *ctx, uint8_t *in, unsigned in_offset, unsigned length,
mpsse.c:498mpsse_clock_data()
void mpsse_clock_data(struct mpsse_ctx *ctx, const uint8_t *out, unsigned out_offset, uint8_t *in,
mpsse.c:569mpsse_clock_tms_cs_out()
void mpsse_clock_tms_cs_out(struct mpsse_ctx *ctx, const uint8_t *out, unsigned out_offset,
mpsse.c:575mpsse_clock_tms_cs()
void mpsse_clock_tms_cs(struct mpsse_ctx *ctx, const uint8_t *out, unsigned out_offset, uint8_t *in,
mpsse.c:626mpsse_set_data_bits_low_byte()
void mpsse_set_data_bits_low_byte(struct mpsse_ctx *ctx, uint8_t data, uint8_t dir)
mpsse.c:643mpsse_set_data_bits_high_byte()
void mpsse_set_data_bits_high_byte(struct mpsse_ctx *ctx, uint8_t data, uint8_t dir)
mpsse.c:660mpsse_read_data_bits_low_byte()
void mpsse_read_data_bits_low_byte(struct mpsse_ctx *ctx, uint8_t *data)
mpsse.c:676mpsse_read_data_bits_high_byte()
void mpsse_read_data_bits_high_byte(struct mpsse_ctx *ctx, uint8_t *data)
mpsse.c:692single_byte_boolean_helper()
static void single_byte_boolean_helper(struct mpsse_ctx *ctx, bool var, uint8_t val_if_true,
mpsse.c:706mpsse_loopback_config()
void mpsse_loopback_config(struct mpsse_ctx *ctx, bool enable)
mpsse.c:712mpsse_set_divisor()
void mpsse_set_divisor(struct mpsse_ctx *ctx, uint16_t divisor)
mpsse.c:729mpsse_divide_by_5_config()
int mpsse_divide_by_5_config(struct mpsse_ctx *ctx, bool enable)
mpsse.c:740mpsse_rtck_config()
int mpsse_rtck_config(struct mpsse_ctx *ctx, bool enable)
mpsse.c:751mpsse_set_frequency()
int mpsse_set_frequency(struct mpsse_ctx *ctx, int frequency)
mpsse.c:784transfer_result::ctxtransfer_result
struct mpsse_ctx *ctx;
mpsse.c:792read_cb()
struct mpsse_ctx *ctx = res->ctx;
mpsse.c:830write_cb()
struct mpsse_ctx *ctx = res->ctx;
mpsse.c:848mpsse_flush()
int mpsse_flush(struct mpsse_ctx *ctx)
mpsse.h:39mpsse_open()
struct mpsse_ctx *mpsse_open(const uint16_t *vid, const uint16_t *pid, const char *description,
mpsse.h:41mpsse_close()::ctxmpsse_close()
void mpsse_close(struct mpsse_ctx *ctx);
mpsse.h:42mpsse_is_high_speed()::ctxmpsse_is_high_speed()
bool mpsse_is_high_speed(struct mpsse_ctx *ctx);
mpsse.h:47mpsse_clock_data_out()::ctxmpsse_clock_data_out()
void mpsse_clock_data_out(struct mpsse_ctx *ctx, const uint8_t *out, unsigned out_offset,
mpsse.h:49mpsse_clock_data_in()::ctxmpsse_clock_data_in()
void mpsse_clock_data_in(struct mpsse_ctx *ctx, uint8_t *in, unsigned in_offset, unsigned length,
mpsse.h:51mpsse_clock_data()::ctxmpsse_clock_data()
void mpsse_clock_data(struct mpsse_ctx *ctx, const uint8_t *out, unsigned out_offset, uint8_t *in,
mpsse.h:53mpsse_clock_tms_cs_out()::ctxmpsse_clock_tms_cs_out()
void mpsse_clock_tms_cs_out(struct mpsse_ctx *ctx, const uint8_t *out, unsigned out_offset,
mpsse.h:55mpsse_clock_tms_cs()::ctxmpsse_clock_tms_cs()
void mpsse_clock_tms_cs(struct mpsse_ctx *ctx, const uint8_t *out, unsigned out_offset, uint8_t *in,
mpsse.h:57mpsse_set_data_bits_low_byte()::ctxmpsse_set_data_bits_low_byte()
void mpsse_set_data_bits_low_byte(struct mpsse_ctx *ctx, uint8_t data, uint8_t dir);
mpsse.h:58mpsse_set_data_bits_high_byte()::ctxmpsse_set_data_bits_high_byte()
void mpsse_set_data_bits_high_byte(struct mpsse_ctx *ctx, uint8_t data, uint8_t dir);
mpsse.h:59mpsse_read_data_bits_low_byte()::ctxmpsse_read_data_bits_low_byte()
void mpsse_read_data_bits_low_byte(struct mpsse_ctx *ctx, uint8_t *data);
mpsse.h:60mpsse_read_data_bits_high_byte()::ctxmpsse_read_data_bits_high_byte()
void mpsse_read_data_bits_high_byte(struct mpsse_ctx *ctx, uint8_t *data);
mpsse.h:61mpsse_loopback_config()::ctxmpsse_loopback_config()
void mpsse_loopback_config(struct mpsse_ctx *ctx, bool enable);
mpsse.h:62mpsse_set_divisor()::ctxmpsse_set_divisor()
void mpsse_set_divisor(struct mpsse_ctx *ctx, uint16_t divisor);
mpsse.h:63mpsse_divide_by_5_config()::ctxmpsse_divide_by_5_config()
int mpsse_divide_by_5_config(struct mpsse_ctx *ctx, bool enable);
mpsse.h:64mpsse_rtck_config()::ctxmpsse_rtck_config()
int mpsse_rtck_config(struct mpsse_ctx *ctx, bool enable);
mpsse.h:68mpsse_set_frequency()::ctxmpsse_set_frequency()
int mpsse_set_frequency(struct mpsse_ctx *ctx, int frequency);
mpsse.h:71mpsse_flush()::ctxmpsse_flush()
int mpsse_flush(struct mpsse_ctx *ctx);
mpsse.h:72mpsse_purge()::ctxmpsse_purge()
void mpsse_purge(struct mpsse_ctx *ctx);