Zephyr API Documentation
2.7.0-rc2
A Scalable Open Source RTOS
|
useful constants and macros for the USB application More...
Go to the source code of this file.
Macros | |
#define | BCD(x) __DEPRECATED_MACRO USB_DEC_TO_BCD(dec) |
#define | USB_DEVICE_DESC_SIZE __DEPRECATED_MACRO 18 |
#define | USB_CONFIGURATION_DESC_SIZE __DEPRECATED_MACRO 9 |
#define | USB_INTERFACE_DESC_SIZE __DEPRECATED_MACRO 9 |
#define | USB_ENDPOINT_DESC_SIZE __DEPRECATED_MACRO 7 |
#define | USB_STRING_DESC_SIZE __DEPRECATED_MACRO 4 |
#define | USB_HID_DESC_SIZE __DEPRECATED_MACRO 9 |
#define | USB_DFU_DESC_SIZE __DEPRECATED_MACRO 9 |
#define | USB_DEVICE_QUAL_DESC_SIZE __DEPRECATED_MACRO 10 |
#define | USB_INTERFACE_ASSOC_DESC_SIZE __DEPRECATED_MACRO 8 |
#define | USB_DEVICE_DESC __DEPRECATED_MACRO 0x01U |
#define | USB_CONFIGURATION_DESC __DEPRECATED_MACRO 0x02U |
#define | USB_STRING_DESC __DEPRECATED_MACRO 0x03U |
#define | USB_INTERFACE_DESC __DEPRECATED_MACRO 0x04U |
#define | USB_ENDPOINT_DESC __DEPRECATED_MACRO 0x05U |
#define | USB_DEVICE_QUAL_DESC __DEPRECATED_MACRO 0x06U |
#define | USB_OTHER_SPEED __DEPRECATED_MACRO 0x07U |
#define | USB_INTERFACE_POWER __DEPRECATED_MACRO 0x08U |
#define | USB_INTERFACE_ASSOC_DESC __DEPRECATED_MACRO 0x0BU |
#define | USB_DEVICE_CAPABILITY_DESC __DEPRECATED_MACRO 0x10U |
#define | USB_HID_DESC __DEPRECATED_MACRO 0x21U |
#define | USB_HID_REPORT_DESC __DEPRECATED_MACRO 0x22U |
#define | USB_CS_INTERFACE_DESC __DEPRECATED_MACRO 0x24U |
#define | USB_CS_ENDPOINT_DESC __DEPRECATED_MACRO 0x25U |
#define | USB_DFU_FUNCTIONAL_DESC __DEPRECATED_MACRO 0x21U |
#define | USB_ASSOCIATION_DESC __DEPRECATED_MACRO 0x0BU |
#define | USB_BINARY_OBJECT_STORE_DESC __DEPRECATED_MACRO 0x0FU |
#define | USB_1_1 __DEPRECATED_MACRO 0x0110 |
#define | USB_2_0 __DEPRECATED_MACRO 0x0200 |
#define | USB_2_1 __DEPRECATED_MACRO 0x0210 |
#define | BCDDEVICE_RELNUM __DEPRECATED_MACRO USB_BCD_DRN |
#define | USB_SOF_MAX __DEPRECATED_MACRO 2047 |
#define | USB_CONFIGURATION_ATTRIBUTES_REMOTE_WAKEUP __DEPRECATED_MACRO BIT(5) |
#define | USB_CONFIGURATION_ATTRIBUTES_SELF_POWERED __DEPRECATED_MACRO BIT(6) |
#define | USB_CONFIGURATION_ATTRIBUTES |
#define | AUDIO_CLASS __DEPRECATED_MACRO 0x01 |
#define | COMMUNICATION_DEVICE_CLASS __DEPRECATED_MACRO 0x02 |
#define | COMMUNICATION_DEVICE_CLASS_DATA __DEPRECATED_MACRO 0x0A |
#define | HID_CLASS __DEPRECATED_MACRO 0x03 |
#define | MASS_STORAGE_CLASS __DEPRECATED_MACRO 0x08 |
#define | WIRELESS_DEVICE_CLASS __DEPRECATED_MACRO 0xE0 |
#define | MISC_CLASS __DEPRECATED_MACRO 0xEF |
#define | CUSTOM_CLASS __DEPRECATED_MACRO 0xFF |
#define | DFU_DEVICE_CLASS __DEPRECATED_MACRO 0xFE |
#define | CDC_NCM_SUBCLASS __DEPRECATED_MACRO 0x0d |
#define | BOOT_INTERFACE_SUBCLASS __DEPRECATED_MACRO 0x01 |
#define | SCSI_TRANSPARENT_SUBCLASS __DEPRECATED_MACRO 0x06 |
#define | DFU_INTERFACE_SUBCLASS __DEPRECATED_MACRO 0x01 |
#define | RF_SUBCLASS __DEPRECATED_MACRO 0x01 |
#define | CUSTOM_SUBCLASS __DEPRECATED_MACRO 0xFF |
#define | MISC_RNDIS_SUBCLASS __DEPRECATED_MACRO 0x04 |
#define | V25TER_PROTOCOL __DEPRECATED_MACRO 0x01 |
#define | MOUSE_PROTOCOL __DEPRECATED_MACRO 0x02 |
#define | BULK_ONLY_PROTOCOL __DEPRECATED_MACRO 0x50 |
#define | DFU_RUNTIME_PROTOCOL __DEPRECATED_MACRO 0x01 |
#define | DFU_MODE_PROTOCOL __DEPRECATED_MACRO 0x02 |
#define | BLUETOOTH_PROTOCOL __DEPRECATED_MACRO 0x01 |
#define | ACM_VENDOR_PROTOCOL __DEPRECATED_MACRO 0xFF |
#define | MISC_ETHERNET_PROTOCOL __DEPRECATED_MACRO 0x01 |
useful constants and macros for the USB application
This file contains useful constants and macros for the USB applications.
#define ACM_VENDOR_PROTOCOL __DEPRECATED_MACRO 0xFF |
#define AUDIO_CLASS __DEPRECATED_MACRO 0x01 |
#define BCD | ( | x | ) | __DEPRECATED_MACRO USB_DEC_TO_BCD(dec) |
#define BCDDEVICE_RELNUM __DEPRECATED_MACRO USB_BCD_DRN |
#define BLUETOOTH_PROTOCOL __DEPRECATED_MACRO 0x01 |
#define BOOT_INTERFACE_SUBCLASS __DEPRECATED_MACRO 0x01 |
#define BULK_ONLY_PROTOCOL __DEPRECATED_MACRO 0x50 |
#define CDC_NCM_SUBCLASS __DEPRECATED_MACRO 0x0d |
#define COMMUNICATION_DEVICE_CLASS __DEPRECATED_MACRO 0x02 |
#define COMMUNICATION_DEVICE_CLASS_DATA __DEPRECATED_MACRO 0x0A |
#define CUSTOM_CLASS __DEPRECATED_MACRO 0xFF |
#define CUSTOM_SUBCLASS __DEPRECATED_MACRO 0xFF |
#define DFU_DEVICE_CLASS __DEPRECATED_MACRO 0xFE |
#define DFU_INTERFACE_SUBCLASS __DEPRECATED_MACRO 0x01 |
#define DFU_MODE_PROTOCOL __DEPRECATED_MACRO 0x02 |
#define DFU_RUNTIME_PROTOCOL __DEPRECATED_MACRO 0x01 |
#define HID_CLASS __DEPRECATED_MACRO 0x03 |
#define MASS_STORAGE_CLASS __DEPRECATED_MACRO 0x08 |
#define MISC_CLASS __DEPRECATED_MACRO 0xEF |
#define MISC_ETHERNET_PROTOCOL __DEPRECATED_MACRO 0x01 |
#define MISC_RNDIS_SUBCLASS __DEPRECATED_MACRO 0x04 |
#define MOUSE_PROTOCOL __DEPRECATED_MACRO 0x02 |
#define RF_SUBCLASS __DEPRECATED_MACRO 0x01 |
#define SCSI_TRANSPARENT_SUBCLASS __DEPRECATED_MACRO 0x06 |
#define USB_1_1 __DEPRECATED_MACRO 0x0110 |
#define USB_2_0 __DEPRECATED_MACRO 0x0200 |
#define USB_2_1 __DEPRECATED_MACRO 0x0210 |
#define USB_ASSOCIATION_DESC __DEPRECATED_MACRO 0x0BU |
#define USB_BINARY_OBJECT_STORE_DESC __DEPRECATED_MACRO 0x0FU |
#define USB_CONFIGURATION_ATTRIBUTES |
#define USB_CONFIGURATION_ATTRIBUTES_REMOTE_WAKEUP __DEPRECATED_MACRO BIT(5) |
#define USB_CONFIGURATION_ATTRIBUTES_SELF_POWERED __DEPRECATED_MACRO BIT(6) |
#define USB_CONFIGURATION_DESC __DEPRECATED_MACRO 0x02U |
#define USB_CONFIGURATION_DESC_SIZE __DEPRECATED_MACRO 9 |
#define USB_CS_ENDPOINT_DESC __DEPRECATED_MACRO 0x25U |
#define USB_CS_INTERFACE_DESC __DEPRECATED_MACRO 0x24U |
#define USB_DEVICE_CAPABILITY_DESC __DEPRECATED_MACRO 0x10U |
#define USB_DEVICE_DESC __DEPRECATED_MACRO 0x01U |
#define USB_DEVICE_DESC_SIZE __DEPRECATED_MACRO 18 |
#define USB_DEVICE_QUAL_DESC __DEPRECATED_MACRO 0x06U |
#define USB_DEVICE_QUAL_DESC_SIZE __DEPRECATED_MACRO 10 |
#define USB_DFU_DESC_SIZE __DEPRECATED_MACRO 9 |
#define USB_DFU_FUNCTIONAL_DESC __DEPRECATED_MACRO 0x21U |
#define USB_ENDPOINT_DESC __DEPRECATED_MACRO 0x05U |
#define USB_ENDPOINT_DESC_SIZE __DEPRECATED_MACRO 7 |
#define USB_HID_DESC __DEPRECATED_MACRO 0x21U |
#define USB_HID_DESC_SIZE __DEPRECATED_MACRO 9 |
#define USB_HID_REPORT_DESC __DEPRECATED_MACRO 0x22U |
#define USB_INTERFACE_ASSOC_DESC __DEPRECATED_MACRO 0x0BU |
#define USB_INTERFACE_ASSOC_DESC_SIZE __DEPRECATED_MACRO 8 |
#define USB_INTERFACE_DESC __DEPRECATED_MACRO 0x04U |
#define USB_INTERFACE_DESC_SIZE __DEPRECATED_MACRO 9 |
#define USB_INTERFACE_POWER __DEPRECATED_MACRO 0x08U |
#define USB_OTHER_SPEED __DEPRECATED_MACRO 0x07U |
#define USB_SOF_MAX __DEPRECATED_MACRO 2047 |
#define USB_STRING_DESC __DEPRECATED_MACRO 0x03U |
#define USB_STRING_DESC_SIZE __DEPRECATED_MACRO 4 |
#define V25TER_PROTOCOL __DEPRECATED_MACRO 0x01 |
#define WIRELESS_DEVICE_CLASS __DEPRECATED_MACRO 0xE0 |