dxd - dynax driver framework  3208
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 { direction::out, direction::in }
 
enum  recipient : unsigned char { recipient::device, recipient::interface, recipient::endpoint, recipient::other }
 
enum  request : unsigned char {
  get_status, clear_feature, get_state, set_feature,
  _reserved, set_address, get_descriptor
}
 
enum  type : unsigned char { type::standard, type::cls, type::vendor }
 

Public Member Functions

 control (dx_enum_prefix recipient recipient, dx_enum_prefix type type, dx_enum_prefix direction direction, unsigned char request, unsigned short value, unsigned short index=0, unsigned short length=0)
 

Public Attributes

dx_enum_prefix direction direction: 1
 
unsigned short index
 
unsigned short length = 0
 
dx_enum_prefix recipient recipient: 2
 
unsigned char request
 
dx_enum_prefix type type: 2
 
unsigned short value
 

Member Enumeration Documentation

enum dx::usb::__request_type::direction : unsigned char
stronginherited
Enumerator
out 
in 
enum dx::usb::__request_type::recipient : unsigned char
stronginherited
Enumerator
device 
interface 
endpoint 
other 
enum dx::usb::control::request : unsigned char
Enumerator
get_status 
clear_feature 
get_state 
set_feature 
_reserved 
set_address 
get_descriptor 
enum dx::usb::__request_type::type : unsigned char
stronginherited
Enumerator
standard 
cls 
vendor 

Constructor & Destructor Documentation

dx::usb::control::control ( dx_enum_prefix recipient  recipient,
dx_enum_prefix type  type,
dx_enum_prefix direction  direction,
unsigned char  request,
unsigned short  value,
unsigned short  index = 0,
unsigned short  length = 0 
)
inline

Member Data Documentation

unsigned short dx::usb::control::index
unsigned short dx::usb::control::length = 0
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 Wed Jun 17 2020

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.