Data Fields

setup_packet Struct Reference
[USB Chapter 9 Enumerations and Descriptors]

The SETUP packet, as defined by the USB specification. More...

#include <usb_ch9.h>

Data Fields

union {
   struct {
      uint8_t   destination: 5
      uint8_t   type: 2
      uint8_t   direction: 1
 0=out, 1=in
   } 
   uint8_t   bmRequestType
REQUEST
uint8_t bRequest
 Dependent on type.
uint16_t wValue
uint16_t wIndex
uint16_t wLength

Detailed Description

The SETUP packet, as defined by the USB specification.

The contents of the packet sent from the host during the SETUP stage of every control transfer


Field Documentation

Dependent on type.

See also:
enum StandardControlRequest
See also:
enum DestinationType
See also:
enum RequestType

The documentation for this struct was generated from the following file:
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator