OpenOCD
jtag_interface Struct Reference

Represents a driver for a debugging interface. More...

Data Fields

int(* execute_queue )(struct jtag_command *cmd_queue)
 Execute commands in the supplied queue. More...
 
unsigned supported
 Bit vector listing capabilities exposed by this driver. More...
 

Detailed Description

Represents a driver for a debugging interface.

Todo:
Rename; perhaps "debug_driver". This isn't an interface, it's a driver! Also, not all drivers support JTAG.
Todo:
We need a per-instance structure too, and changes to pass that structure to the driver. Instances can for example be in either SWD or JTAG modes. This will help remove globals, and eventually to cope with systems which have more than one such debugging interface.

Definition at line 182 of file interface.h.

Field Documentation

◆ execute_queue

int(* jtag_interface::execute_queue) (struct jtag_command *cmd_queue)

Execute commands in the supplied queue.

Parameters
cmd_queue- a linked list of commands to execute
Returns
ERROR_OK on success, or an error code on failure.

Definition at line 195 of file interface.h.

Referenced by default_interface_jtag_execute_queue().

◆ supported

unsigned jtag_interface::supported

Bit vector listing capabilities exposed by this driver.

Definition at line 186 of file interface.h.

Referenced by jtag_add_tms_seq().


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