Adding vendor class definition
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user