USB Setup request package.

Public Attributes#

uint8_t

Request recipient (device, interface, endpoint or other).

uint8_t

Request type (standard, class or vendor).

uint8_t

Transfer direction of SETUP data phase.

uint8_t

Request characteristics.

uint8_t

Request code.

uint16_t

Varies according to request.

uint16_t

Index or offset, varies according to request.

uint16_t

Number of bytes to transfer if there is a data stage.

uint32_t
union USB_Setup_TypeDef::@0

Public Attribute Documentation#

Recipient#

uint8_t USB_Setup_TypeDef::Recipient

Request recipient (device, interface, endpoint or other).


Type#

uint8_t USB_Setup_TypeDef::Type

Request type (standard, class or vendor).



Direction#

uint8_t USB_Setup_TypeDef::Direction

Transfer direction of SETUP data phase.



bmRequestType#

uint8_t USB_Setup_TypeDef::bmRequestType

Request characteristics.



bRequest#

uint8_t USB_Setup_TypeDef::bRequest

Request code.



wValue#

uint16_t USB_Setup_TypeDef::wValue

Varies according to request.



wIndex#

uint16_t USB_Setup_TypeDef::wIndex

Index or offset, varies according to request.



wLength#

uint16_t USB_Setup_TypeDef::wLength

Number of bytes to transfer if there is a data stage.


dw#

uint32_t USB_Setup_TypeDef::dw[2]

@1#

union USB_Setup_TypeDef::@0 USB_Setup_TypeDef::@1