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::control Struct Reference

#include <dx_usb.h>

+ Inheritance diagram for dx::usb::control:
+ Collaboration diagram for dx::usb::control:

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

 control ()=default
 
 control (enum type type, unsigned char request, enum direction direction=direction::out, enum recipient recipient=recipient::device, unsigned short value=0, unsigned short index=0)
 

Public Attributes

unsigned char _reserved:3
 
unsigned short index
 
unsigned short length =0
 
unsigned char request
 
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

dx::usb::control::control ( )
default
dx::usb::control::control ( enum type  type,
unsigned char  request,
enum direction  direction = direction::out,
enum recipient  recipient = recipient::device,
unsigned short  value = 0,
unsigned short  index = 0 
)
inline

Member Data Documentation

unsigned char dx::usb::__request_type::_reserved
inherited
unsigned short dx::usb::control::index
unsigned short dx::usb::control::length =0
unsigned char dx::usb::control::request
unsigned short dx::usb::control::value

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.