usb_device_request_setup_packet_t Struct Reference
[USB library for device drivers]

Device request setup packet. More...

#include <request.h>


Data Fields

union {
   uint16_t   value
}; 
 Main parameter to the request.
uint16_t index
 Auxiliary parameter to the request.
uint16_t length
 Length of extra data.
uint8_t request
 Request identification.
uint8_t request_type
 Request type.
uint8_t value_high
uint8_t value_low


Detailed Description

Device request setup packet.

The setup packet describes the request.

Definition at line 78 of file request.h.


Field Documentation

uint16_t index

Auxiliary parameter to the request.

Typically, it is offset to something.

Definition at line 98 of file request.h.

uint8_t request_type

Request type.

The type combines transfer direction, request type and intended recipient.

Definition at line 83 of file request.h.


The documentation for this struct was generated from the following file:
Generated on Thu Jun 2 07:46:00 2011 for HelenOS/USB by  doxygen 1.4.7