dxd - dynax driver framework 2.1.0d72
cross platform open source driver development framework
Loading...
Searching...
No Matches
dx::usb::control Struct Reference

#include <dx_usb.h>

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

Public Types

enum class  direction : uint8_t { out , in }
 
enum class  recipient : uint8_t { device , interface , endpoint , other }
 
enum  request : uint8_t {
  get_status , clear_feature , get_state , set_feature ,
  _reserved , set_address , get_descriptor
}
 
enum class  type : uint8_t { standard , cls , vendor }
 

Public Member Functions

 control (dx_enum_prefix recipient recipient, dx_enum_prefix type type, dx_enum_prefix direction direction, uint8_t request, uint16_t value=0, uint16_t index=0, uint16_t length=0)
 

Public Attributes

uint8_t __reserved: 3
 
dx_enum_prefix direction direction: 1
 
uint16_t index
 
uint16_t length = 0
 
dx_enum_prefix recipient recipient: 2
 
uint8_t request
 
dx_enum_prefix type type: 2
 
uint16_t value
 

Member Enumeration Documentation

◆ direction

Enumerator
out 
in 

◆ recipient

Enumerator
device 
interface 
endpoint 
other 

◆ request

Enumerator
get_status 
clear_feature 
get_state 
set_feature 
_reserved 
set_address 
get_descriptor 

◆ type

Enumerator
standard 
cls 
vendor 

Constructor & Destructor Documentation

◆ control()

dx::usb::control::control ( dx_enum_prefix recipient recipient,
dx_enum_prefix type type,
dx_enum_prefix direction direction,
uint8_t request,
uint16_t value = 0,
uint16_t index = 0,
uint16_t length = 0 )
inline

Member Data Documentation

◆ __reserved

uint8_t dx::usb::__request_type::__reserved
inherited

◆ direction

◆ index

uint16_t dx::usb::control::index

◆ length

uint16_t dx::usb::control::length = 0

◆ recipient

◆ request

◆ type

◆ value

uint16_t 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 Oct 22 2024

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.