OpenOCD
cmsis_dap_backend Struct Reference

Data Fields

void(* cancel_all )(struct cmsis_dap *dap)
 
void(* close )(struct cmsis_dap *dap)
 
const char * name
 
int(* open )(struct cmsis_dap *dap, uint16_t vids[], uint16_t pids[], const char *serial)
 
int(* packet_buffer_alloc )(struct cmsis_dap *dap, unsigned int pkt_sz)
 
void(* packet_buffer_free )(struct cmsis_dap *dap)
 
int(* read )(struct cmsis_dap *dap, int transfer_timeout_ms, struct timeval *wait_timeout)
 
int(* write )(struct cmsis_dap *dap, int len, int timeout_ms)
 

Detailed Description

Definition at line 61 of file cmsis_dap.h.

Field Documentation

◆ cancel_all

void(* cmsis_dap_backend::cancel_all) (struct cmsis_dap *dap)

Definition at line 70 of file cmsis_dap.h.

Referenced by cmsis_dap_swd_cancel_transfers(), and cmsis_dap_xfer().

◆ close

void(* cmsis_dap_backend::close) (struct cmsis_dap *dap)

Definition at line 64 of file cmsis_dap.h.

Referenced by cmsis_dap_close().

◆ name

const char* cmsis_dap_backend::name

Definition at line 62 of file cmsis_dap.h.

◆ open

int(* cmsis_dap_backend::open) (struct cmsis_dap *dap, uint16_t vids[], uint16_t pids[], const char *serial)

Definition at line 63 of file cmsis_dap.h.

Referenced by cmsis_dap_open().

◆ packet_buffer_alloc

int(* cmsis_dap_backend::packet_buffer_alloc) (struct cmsis_dap *dap, unsigned int pkt_sz)

Definition at line 68 of file cmsis_dap.h.

Referenced by cmsis_dap_init().

◆ packet_buffer_free

void(* cmsis_dap_backend::packet_buffer_free) (struct cmsis_dap *dap)

Definition at line 69 of file cmsis_dap.h.

Referenced by cmsis_dap_init().

◆ read

int(* cmsis_dap_backend::read) (struct cmsis_dap *dap, int transfer_timeout_ms, struct timeval *wait_timeout)

Definition at line 65 of file cmsis_dap.h.

Referenced by cmsis_dap_flush_read(), cmsis_dap_swd_read_process(), and cmsis_dap_xfer().

◆ write

int(* cmsis_dap_backend::write) (struct cmsis_dap *dap, int len, int timeout_ms)

Definition at line 67 of file cmsis_dap.h.

Referenced by cmsis_dap_swd_write_from_queue(), and cmsis_dap_xfer().


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