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
le16_t usb_setup_req_t::wIndex
le16_t usb_setup_req_t::wLength
le16_t usb_setup_req_t::wValue

Referenced by main_usb_enum_step9().