dxd - dynax driver framework 2.1.0d49
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

enum class dx::usb::__request_type::direction : uint8_t
stronginherited
Enumerator
out 
in 

◆ recipient

enum class dx::usb::__request_type::recipient : uint8_t
stronginherited
Enumerator
device 
interface 
endpoint 
other 

◆ request

enum dx::usb::control::request : uint8_t
Enumerator
get_status 
clear_feature 
get_state 
set_feature 
_reserved 
set_address 
get_descriptor 

◆ type

enum class dx::usb::__request_type::type : uint8_t
stronginherited
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

dx_enum_prefix direction dx::usb::__request_type::direction
inherited

◆ index

uint16_t dx::usb::control::index

◆ length

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

◆ recipient

dx_enum_prefix recipient dx::usb::__request_type::recipient
inherited

◆ request

uint8_t dx::usb::control::request

◆ type

dx_enum_prefix type dx::usb::__request_type::type
inherited

◆ 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 Sat Mar 2 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.