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).


Definition at line 387 of file platform/middleware/usb_gecko/inc/em_usb.h

Type#

uint8_t USB_Setup_TypeDef::Type

Request type (standard, class or vendor).


Definition at line 388 of file platform/middleware/usb_gecko/inc/em_usb.h

Direction#

uint8_t USB_Setup_TypeDef::Direction

Transfer direction of SETUP data phase.


Definition at line 389 of file platform/middleware/usb_gecko/inc/em_usb.h

bmRequestType#

uint8_t USB_Setup_TypeDef::bmRequestType

Request characteristics.


Definition at line 391 of file platform/middleware/usb_gecko/inc/em_usb.h

bRequest#

uint8_t USB_Setup_TypeDef::bRequest

Request code.


Definition at line 393 of file platform/middleware/usb_gecko/inc/em_usb.h

wValue#

uint16_t USB_Setup_TypeDef::wValue

Varies according to request.


Definition at line 394 of file platform/middleware/usb_gecko/inc/em_usb.h

wIndex#

uint16_t USB_Setup_TypeDef::wIndex

Index or offset, varies according to request.


Definition at line 395 of file platform/middleware/usb_gecko/inc/em_usb.h

wLength#

uint16_t USB_Setup_TypeDef::wLength

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


Definition at line 396 of file platform/middleware/usb_gecko/inc/em_usb.h

dw#

uint32_t USB_Setup_TypeDef::dw[2]

Definition at line 398 of file platform/middleware/usb_gecko/inc/em_usb.h

@1#

union USB_Setup_TypeDef::@0 USB_Setup_TypeDef::@1

Definition at line 399 of file platform/middleware/usb_gecko/inc/em_usb.h