TinyUVC 0.1.0
Header-only USB Video Class (UVC) device: turn an MCU into a USB webcam
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Public Attributes | List of all members
tinyuvc::UVCRequest Struct Reference

Setup request as seen by UVCDevice (independent of the USB stack) More...

#include <UVCDevice.h>

Public Types

enum  Type : uint8_t { Standard = 0 , Class = 1 , Vendor = 2 }
 
enum  Recipient : uint8_t { Device = 0 , Interface = 1 , Endpoint = 2 }
 

Public Member Functions

uint8_t type () const
 
uint8_t recipient () const
 
bool isIn () const
 

Public Attributes

uint8_t bmRequestType = 0
 
uint8_t bRequest = 0
 
uint16_t wValue = 0
 
uint16_t wIndex = 0
 
uint16_t wLength = 0
 

Detailed Description

Setup request as seen by UVCDevice (independent of the USB stack)

Member Enumeration Documentation

◆ Recipient

Enumerator
Device 
Interface 
Endpoint 

◆ Type

Enumerator
Standard 
Class 
Vendor 

Member Function Documentation

◆ isIn()

bool tinyuvc::UVCRequest::isIn ( ) const
inline

◆ recipient()

uint8_t tinyuvc::UVCRequest::recipient ( ) const
inline

◆ type()

uint8_t tinyuvc::UVCRequest::type ( ) const
inline

Member Data Documentation

◆ bmRequestType

uint8_t tinyuvc::UVCRequest::bmRequestType = 0

◆ bRequest

uint8_t tinyuvc::UVCRequest::bRequest = 0

◆ wIndex

uint16_t tinyuvc::UVCRequest::wIndex = 0

◆ wLength

uint16_t tinyuvc::UVCRequest::wLength = 0

◆ wValue

uint16_t tinyuvc::UVCRequest::wValue = 0

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