Adding vendor class definition
This commit is contained in:
parent
fb110dd3e6
commit
e8ec29e636
@ -38,6 +38,9 @@ struct usb_setup_data {
|
|||||||
u16 wLength;
|
u16 wLength;
|
||||||
} __attribute__((packed));
|
} __attribute__((packed));
|
||||||
|
|
||||||
|
/* Class Definition */
|
||||||
|
#define USB_CLASS_VENDOR 0xFF
|
||||||
|
|
||||||
/* bmRequestType bit definitions */
|
/* bmRequestType bit definitions */
|
||||||
#define USB_REQ_TYPE_IN 0x80
|
#define USB_REQ_TYPE_IN 0x80
|
||||||
#define USB_REQ_TYPE_STANDARD 0x00
|
#define USB_REQ_TYPE_STANDARD 0x00
|
||||||
|
Loading…
x
Reference in New Issue
Block a user