Microchip® Advanced Software Framework

usb_setup_req_t Struct Reference

A USB Device SETUP request.

The data payload of SETUP packets always follows this structure.

#include <usb_protocol.h>

Data Fields

uint8_t bmRequestType
 
uint8_t bRequest
 
le16_t wIndex
 
le16_t wLength
 
le16_t wValue
 

uint8_t usb_setup_req_t::bmRequestType
uint8_t usb_setup_req_t::bRequest

Referenced by udc_reqstd(), and udi_msc_setup().