OpenOCD
setup_data Struct Reference

USB Control Setup Data. More...

Data Fields

uint8_t bmRequestType
 Characteristics of a request. More...
 
uint8_t bRequest
 Specific request. More...
 
uint16_t wIndex
 Field that varies according to request. More...
 
uint16_t wLength
 Number of bytes to transfer in data stage. More...
 
uint16_t wValue
 Field that varies according to request. More...
 

Detailed Description

USB Control Setup Data.

See USB 1.1 spec, pp. 183 - 185

Definition at line 107 of file usb.h.

Field Documentation

◆ bmRequestType

uint8_t setup_data::bmRequestType

Characteristics of a request.

Definition at line 108 of file usb.h.

Referenced by usb_handle_clear_feature(), usb_handle_get_status(), and usb_handle_set_feature().

◆ bRequest

uint8_t setup_data::bRequest

Specific request.

Definition at line 109 of file usb.h.

Referenced by usb_handle_setup_data().

◆ wIndex

uint16_t setup_data::wIndex

Field that varies according to request.

Definition at line 111 of file usb.h.

Referenced by usb_handle_clear_feature(), usb_handle_get_descriptor(), usb_handle_get_status(), and usb_handle_set_feature().

◆ wLength

uint16_t setup_data::wLength

Number of bytes to transfer in data stage.

Definition at line 112 of file usb.h.

◆ wValue

uint16_t setup_data::wValue

Field that varies according to request.

Definition at line 110 of file usb.h.

Referenced by usb_handle_clear_feature(), usb_handle_get_descriptor(), and usb_handle_set_feature().


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