OpenOCD
cmsis_dap_backend Struct Reference

Data Fields

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)
 
int(* read )(struct cmsis_dap *dap, int timeout_ms)
 
int(* write )(struct cmsis_dap *dap, int len, int timeout_ms)
 

Detailed Description

Definition at line 27 of file cmsis_dap.h.

Field Documentation

◆ close

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

Definition at line 30 of file cmsis_dap.h.

Referenced by cmsis_dap_close().

◆ name

const char* cmsis_dap_backend::name

Definition at line 28 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 29 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 33 of file cmsis_dap.h.

Referenced by cmsis_dap_init().

◆ read

int(* cmsis_dap_backend::read) (struct cmsis_dap *dap, int timeout_ms)

Definition at line 31 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 32 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: