OpenOCD
nulink_usb_handle Struct Reference

Data Fields

uint8_t cmdbuf [NULINK2_HID_MAX_SIZE+1]
 
uint8_t cmdidx
 
uint8_t cmdsize
 
uint8_t databuf [NULINK2_HID_MAX_SIZE]
 
hid_device * dev_handle
 
uint16_t hardware_config
 
void(* init_buffer )(void *handle, uint32_t size)
 
uint32_t max_mem_packet
 
uint16_t max_packet_size
 
uint8_t tempbuf [NULINK2_HID_MAX_SIZE]
 
uint8_t usbcmdidx
 
int(* xfer )(void *handle, uint8_t *buf, int size)
 

Detailed Description

Definition at line 37 of file nulink_usb.c.

Field Documentation

◆ cmdbuf

◆ cmdidx

◆ cmdsize

uint8_t nulink_usb_handle::cmdsize

Definition at line 42 of file nulink_usb.c.

Referenced by nulink_usb_version().

◆ databuf

◆ dev_handle

hid_device* nulink_usb_handle::dev_handle

Definition at line 38 of file nulink_usb.c.

Referenced by nulink_usb_close(), and nulink_usb_xfer_rw().

◆ hardware_config

uint16_t nulink_usb_handle::hardware_config

Definition at line 47 of file nulink_usb.c.

Referenced by nulink_speed(), and nulink_usb_version().

◆ init_buffer

void(* nulink_usb_handle::init_buffer) (void *handle, uint32_t size)

Definition at line 50 of file nulink_usb.c.

Referenced by nulink_usb_init_buffer().

◆ max_mem_packet

uint32_t nulink_usb_handle::max_mem_packet

Definition at line 46 of file nulink_usb.c.

Referenced by nulink_usb_read_mem(), and nulink_usb_write_mem().

◆ max_packet_size

uint16_t nulink_usb_handle::max_packet_size

◆ tempbuf

uint8_t nulink_usb_handle::tempbuf[NULINK2_HID_MAX_SIZE]

◆ usbcmdidx

uint8_t nulink_usb_handle::usbcmdidx

Definition at line 40 of file nulink_usb.c.

Referenced by nulink1_usb_init_buffer(), and nulink2_usb_init_buffer().

◆ xfer

int(* nulink_usb_handle::xfer) (void *handle, uint8_t *buf, int size)

Definition at line 49 of file nulink_usb.c.

Referenced by nulink_usb_xfer().


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