12345678910111213141516171819202122232425 |
- #pragma once
- #define USB_CLASS 0xC
- #define USB_SUBCLASS 0x3
- #define USB_TYPE_UHCI 0x0
- #define USB_TYPE_OHCI 0x10
- #define USB_TYPE_EHCI 0x20
- #define USB_TYPE_XHCI 0x30
- #define USB_TYPE_UNSPEC 0x80
- #define USB_TYPE_DEVICE 0xfe
- #define USB_TIME_RST_RH 50
- #define USB_TIME_RST_MIN 10
- #define USB_TIME_RST_NOMORE 3
- #define USB_TIME_RST_REC 10
- void usb_init();
|