| usbpsu Vitis Drivers API Documentation

- Overview
- Data Structures
- APIs
- File List
- Examples

- Data Structures
- Data Fields

Data Fields
__attribute__ Struct Reference
USBPSU APIs

struct SetupPacket - USB Standard Control Request More...

## 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 __attribute__::bRequest

Type of request.

u8 __attribute__::bRequestType

Characteristics of request.

u16 __attribute__::wIndex

Used to pass an index or offset.

u16 __attribute__::wLength

Number of bytes to transfer.

u16 __attribute__::wValue

Word-sized that varies according to request.