USBD ROM Stack  2.0
ROM based USB device stack
Data Fields
USB_SETUP_PACKET Struct Reference

#include <C:/Data/nxp/GIT/lpcopen_v3/lpcopen_version3/LPC43xx_18xx/lpc43xx_18xx/LPC_USBD_Lib/mw_usbd/mw_usbd.h>

Data Fields

REQUEST_TYPE bmRequestType
 
uint8_t bRequest
 
WORD_BYTE wValue
 
WORD_BYTE wIndex
 
uint16_t wLength
 

Detailed Description

USB Default Control Pipe Setup Packet

Field Documentation

◆ bmRequestType

REQUEST_TYPE USB_SETUP_PACKET::bmRequestType

This bitmapped field identifies the characteristics of the specific request.

See also
_BM_T.

◆ bRequest

uint8_t USB_SETUP_PACKET::bRequest

This field specifies the particular request. The Type bits in the bmRequestType field modify the meaning of this field.

See also
USBD_REQUEST.

◆ wValue

WORD_BYTE USB_SETUP_PACKET::wValue

Used to pass a parameter to the device, specific to the request.

◆ wIndex

WORD_BYTE USB_SETUP_PACKET::wIndex

Used to pass a parameter to the device, specific to the request. The wIndex field is often used in requests to specify an endpoint or an interface.

◆ wLength

uint16_t USB_SETUP_PACKET::wLength

This field specifies the length of the data transferred during the second phase of the control transfer.


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