|
enum | USB_TYPES_DEFINITION {
USB_REQ_TYPE_STANDARD = (0x00 << 5)
, USB_REQ_TYPE_CLASS = (0x01 << 5)
, USB_REQ_TYPE_VENDOR = (0x02 << 5)
, USB_REQ_GET_STATUS = 0x00
,
USB_REQ_CLEAR_FEATURE = 0x01
, USB_REQ_SET_FEATURE = 0x03
, USB_REQ_SET_ADDRESS = 0x05
, USB_REQ_GET_DESCRIPTOR = 0x06
,
USB_REQ_SET_DESCRIPTOR = 0x07
, USB_REQ_GET_CONFIG = 0x08
, USB_REQ_SET_CONFIG = 0x09
, USB_REQ_GET_INTERFACE = 0x0A
,
USB_REQ_SET_INTERFACE = 0x0B
, USB_REQ_SYNCH_FRAME = 0x0C
, USB_TARGET_DEVICE = 0
, USB_TARGET_INTERFACE = 0x01
,
USB_TARGET_ENDPOINT = 0x02
, USB_TARGET_OTHER = 0x03
, USB_DESC_TYPE_DEVICE = 0x01
, USB_DESC_TYPE_CONFIG = 0x02
,
USB_DESC_TYPE_STRING = 0x03
, USB_DESC_TYPE_INTERFACE = 0x04
, USB_DESC_TYPE_ENDPOINT = 0x05
, USB_DESC_TYPE_INTERFACE_ASSOCIATION = 0x0b
,
USB_DESC_TYPE_HID = 0x21
, USB_DESC_TYPE_REPORT = 0x22
, USB_DESC_TYPE_CS_INTERFACE = 0x24
, USB_DESC_TYPE_CS_ENDPOINT = 0x25
,
USB_FEATURE_ENDPOINT_HALT = 0
, USB_ENDPOINT_CONTROL = 0x00
, USB_ENDPOINT_ISO = 0x01
, USB_ENDPOINT_BULK = 0x02
,
USB_ENDPOINT_INTERRUPT = 0x03
, USB_ENDPOINT_TYPE_MASK = 0x03
, USB_ENDPOINT_DIR_IN = 0x80
, EFI_USB_INTERRUPT_DELAY = 2000000
} |
|
Support for USB 2.0 standard.
Copyright (c) 2006 - 2014, Intel Corporation. All rights reserved.
Copyright (c) 2024, American Megatrends International LLC. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent
Definition in file Usb.h.