OpenOCD
usb_common.h File Reference
Include dependency graph for usb_common.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

int jtag_usb_open (const uint16_t vids[], const uint16_t pids[], struct usb_dev_handle **out)
 

Function Documentation

◆ jtag_usb_open()

int jtag_usb_open ( const uint16_t  vids[],
const uint16_t  pids[],
struct usb_dev_handle **  out 
)

Definition at line 36 of file usb_common.c.

References busses, ERROR_FAIL, ERROR_OK, jtag_usb_match(), LOG_ERROR, and NULL.

Referenced by armjtagew_usb_open(), rlink_init(), and usbprog_jtag_open().