usbpsu
Vitis Drivers API Documentation
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
SetupPacket Struct Reference

struct SetupPacket - USB Standard Control Request More...

#include <xusbpsu.h>

Data Fields

u8 bRequestType
 Characteristics of request. More...
 
u8 bRequest
 Type of request. More...
 
u16 wValue
 Word-sized that varies according to request. More...
 
u16 wIndex
 Used to pass an index or offset. More...
 
u16 wLength
 Number of bytes to transfer. More...
 

Detailed Description

struct SetupPacket - USB Standard Control Request

Parameters
bRequestType,:Characteristics of request
bRequest,:Type of request
wValue,:Word-sized field that varies according to request
wIndex,:Used to pass an index or offset
wLength,:Number of bytes to transfer if there is a Data stage

Field Documentation

u8 SetupPacket::bRequestType
u16 SetupPacket::wIndex

Used to pass an index or offset.

Referenced by Usb_ClassReq(), Usb_SetInterfaceHandler(), and Usb_SetIntf().

u16 SetupPacket::wLength
u16 SetupPacket::wValue