dxd - dynax driver framework  2675
cross platform open source driver development framework
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
dx::usb::request< data_t > Struct Template Reference

#include <dx_usb.h>

+ Inheritance diagram for dx::usb::request< data_t >:
+ Collaboration diagram for dx::usb::request< data_t >:

Public Types

enum  direction : unsigned char { out, in }
 
enum  recipient : unsigned char { device, interface, endpoint, other }
 
enum  type : unsigned char { standard, cls, vendor }
 

Public Member Functions

 request (const struct control &control, data_t &data, unsigned short size=sizeof(data_t))
 

Public Attributes

unsigned char _reserved:3
 
data_t data
 
unsigned short index
 
unsigned short length =0
 
unsigned char request
 
unsigned short size
 
unsigned short value
 

Member Enumeration Documentation

enum dx::usb::__request_type::direction : unsigned char
inherited
Enumerator
out 
in 
enum dx::usb::__request_type::recipient : unsigned char
inherited
Enumerator
device 
interface 
endpoint 
other 
enum dx::usb::__request_type::type : unsigned char
inherited
Enumerator
standard 
cls 
vendor 

Constructor & Destructor Documentation

template<typename data_t = char>
dx::usb::request< data_t >::request ( const struct control control,
data_t &  data,
unsigned short  size = sizeof(data_t) 
)
inline

Member Data Documentation

unsigned char dx::usb::__request_type::_reserved
inherited
template<typename data_t = char>
data_t dx::usb::request< data_t >::data
unsigned short dx::usb::control::index
inherited
unsigned short dx::usb::control::length =0
inherited
unsigned char dx::usb::control::request
inherited
template<typename data_t = char>
unsigned short dx::usb::request< data_t >::size
unsigned short dx::usb::control::value
inherited

The documentation for this struct was generated from the following file:

(c) copyright 2009 dynamic acoustics e.U. generated on Tue Dec 4 2018

a closed source license may be obtained by requesting a written permission from dynamic acoustics e.U.
however - governmental use generally and military use especially is strictly prohibited though.