libuvcc  0.41a
simple uvc implementation for os x
 All Data Structures Functions Variables Typedefs Enumerations Groups Pages
USB bmRequestType bits

Macros

#define USB_RT_TD_SET   0x00
 
#define USB_RT_TD_GET   0x80
 
#define USB_RT_TY_STD   (0x00 << 5)
 
#define USB_RT_TY_CLASS   (0x01 << 5)
 
#define USB_RT_TY_VENDOR   (0x02 << 5)
 
#define USB_RT_TY_RESERVED   (0x03 << 5)
 
#define USB_RT_RE_DEVICE   0x00
 
#define USB_RT_RE_IFACE   0x01
 
#define USB_RT_RE_ENDPOINT   0x02
 
#define USB_RT_RE_OTHER   0x03
 

Detailed Description

Macro Definition Documentation

#define USB_RT_RE_DEVICE   0x00

bit 4-0, reciever device

#define USB_RT_RE_ENDPOINT   0x02

reciever endpoint

#define USB_RT_RE_IFACE   0x01

reciever interface

#define USB_RT_RE_OTHER   0x03

reciever other, reserved

#define USB_RT_TD_GET   0x80

10000000b (in)

#define USB_RT_TD_SET   0x00

bit 7, transfer direction (out)

#define USB_RT_TY_CLASS   (0x01 << 5)

00100000b

#define USB_RT_TY_RESERVED   (0x03 << 5)

01100000n

#define USB_RT_TY_STD   (0x00 << 5)

bit 6,5, type

#define USB_RT_TY_VENDOR   (0x02 << 5)

01000000b