|
USBD ROM Stack
1.0
ROM based USB device stack
|
#include <mw_usbd/mw_usbd.h>
Data Fields | |
| REQUEST_TYPE | bmRequestType |
| uint8_t | bRequest |
| WORD_BYTE | wValue |
| WORD_BYTE | wIndex |
| uint16_t | wLength |
USB Default Control Pipe Setup Packet
| REQUEST_TYPE USB_SETUP_PACKET::bmRequestType |
This bitmapped field identifies the characteristics of the specific request.
| 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.
| WORD_BYTE USB_SETUP_PACKET::wValue |
Used to pass a parameter to the device, specific to the request.
| 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.
| uint16_t USB_SETUP_PACKET::wLength |
This field specifies the length of the data transferred during the second phase of the control transfer.