Zephyr API Documentation
2.7.0-rc2
A Scalable Open Source RTOS
|
standard USB packet structures and defines More...
#include <usb/usb_ch9.h>
Go to the source code of this file.
Macros | |
#define | REQTYPE_GET_DIR(x) __DEPRECATED_MACRO USB_REQTYPE_GET_DIR(x) |
#define | REQTYPE_GET_TYPE(x) __DEPRECATED_MACRO USB_REQTYPE_GET_TYPE(x) |
#define | REQTYPE_GET_RECIP(x) __DEPRECATED_MACRO USB_REQTYPE_GET_RECIPIENT(x) |
#define | REQTYPE_DIR_TO_DEVICE __DEPRECATED_MACRO 0 |
#define | REQTYPE_DIR_TO_HOST __DEPRECATED_MACRO 1 |
#define | REQTYPE_TYPE_STANDARD __DEPRECATED_MACRO 0 |
#define | REQTYPE_TYPE_CLASS __DEPRECATED_MACRO 1 |
#define | REQTYPE_TYPE_VENDOR __DEPRECATED_MACRO 2 |
#define | REQTYPE_TYPE_RESERVED __DEPRECATED_MACRO 3 |
#define | REQTYPE_RECIP_DEVICE __DEPRECATED_MACRO 0 |
#define | REQTYPE_RECIP_INTERFACE __DEPRECATED_MACRO 1 |
#define | REQTYPE_RECIP_ENDPOINT __DEPRECATED_MACRO 2 |
#define | REQTYPE_RECIP_OTHER __DEPRECATED_MACRO 3 |
#define | REQ_GET_STATUS __DEPRECATED_MACRO 0x00 |
#define | REQ_CLEAR_FEATURE __DEPRECATED_MACRO 0x01 |
#define | REQ_SET_FEATURE __DEPRECATED_MACRO 0x03 |
#define | REQ_SET_ADDRESS __DEPRECATED_MACRO 0x05 |
#define | REQ_GET_DESCRIPTOR __DEPRECATED_MACRO 0x06 |
#define | REQ_SET_DESCRIPTOR __DEPRECATED_MACRO 0x07 |
#define | REQ_GET_CONFIGURATION __DEPRECATED_MACRO 0x08 |
#define | REQ_SET_CONFIGURATION __DEPRECATED_MACRO 0x09 |
#define | REQ_GET_INTERFACE __DEPRECATED_MACRO 0x0A |
#define | REQ_SET_INTERFACE __DEPRECATED_MACRO 0x0B |
#define | REQ_SYNCH_FRAME __DEPRECATED_MACRO 0x0C |
#define | FEA_ENDPOINT_HALT __DEPRECATED_MACRO 0x00 |
#define | FEA_REMOTE_WAKEUP __DEPRECATED_MACRO 0x01 |
#define | FEA_TEST_MODE __DEPRECATED_MACRO 0x02 |
#define | DEVICE_STATUS_SELF_POWERED __DEPRECATED_MACRO 0x01 |
#define | DEVICE_STATUS_REMOTE_WAKEUP __DEPRECATED_MACRO 0x02 |
#define | GET_DESC_TYPE(x) __DEPRECATED_MACRO USB_GET_DESCRIPTOR_TYPE(x) |
#define | GET_DESC_INDEX(x) __DEPRECATED_MACRO USB_GET_DESCRIPTOR_INDEX(x) |
standard USB packet structures and defines
This file contains structures and defines of the standard USB packets
#define DEVICE_STATUS_REMOTE_WAKEUP __DEPRECATED_MACRO 0x02 |
#define DEVICE_STATUS_SELF_POWERED __DEPRECATED_MACRO 0x01 |
#define FEA_ENDPOINT_HALT __DEPRECATED_MACRO 0x00 |
#define FEA_REMOTE_WAKEUP __DEPRECATED_MACRO 0x01 |
#define FEA_TEST_MODE __DEPRECATED_MACRO 0x02 |
#define GET_DESC_INDEX | ( | x | ) | __DEPRECATED_MACRO USB_GET_DESCRIPTOR_INDEX(x) |
#define GET_DESC_TYPE | ( | x | ) | __DEPRECATED_MACRO USB_GET_DESCRIPTOR_TYPE(x) |
#define REQ_CLEAR_FEATURE __DEPRECATED_MACRO 0x01 |
#define REQ_GET_CONFIGURATION __DEPRECATED_MACRO 0x08 |
#define REQ_GET_DESCRIPTOR __DEPRECATED_MACRO 0x06 |
#define REQ_GET_INTERFACE __DEPRECATED_MACRO 0x0A |
#define REQ_GET_STATUS __DEPRECATED_MACRO 0x00 |
#define REQ_SET_ADDRESS __DEPRECATED_MACRO 0x05 |
#define REQ_SET_CONFIGURATION __DEPRECATED_MACRO 0x09 |
#define REQ_SET_DESCRIPTOR __DEPRECATED_MACRO 0x07 |
#define REQ_SET_FEATURE __DEPRECATED_MACRO 0x03 |
#define REQ_SET_INTERFACE __DEPRECATED_MACRO 0x0B |
#define REQ_SYNCH_FRAME __DEPRECATED_MACRO 0x0C |
#define REQTYPE_DIR_TO_DEVICE __DEPRECATED_MACRO 0 |
#define REQTYPE_DIR_TO_HOST __DEPRECATED_MACRO 1 |
#define REQTYPE_GET_DIR | ( | x | ) | __DEPRECATED_MACRO USB_REQTYPE_GET_DIR(x) |
#define REQTYPE_GET_RECIP | ( | x | ) | __DEPRECATED_MACRO USB_REQTYPE_GET_RECIPIENT(x) |
#define REQTYPE_GET_TYPE | ( | x | ) | __DEPRECATED_MACRO USB_REQTYPE_GET_TYPE(x) |
#define REQTYPE_RECIP_DEVICE __DEPRECATED_MACRO 0 |
#define REQTYPE_RECIP_ENDPOINT __DEPRECATED_MACRO 2 |
#define REQTYPE_RECIP_INTERFACE __DEPRECATED_MACRO 1 |
#define REQTYPE_RECIP_OTHER __DEPRECATED_MACRO 3 |
#define REQTYPE_TYPE_CLASS __DEPRECATED_MACRO 1 |
#define REQTYPE_TYPE_RESERVED __DEPRECATED_MACRO 3 |
#define REQTYPE_TYPE_STANDARD __DEPRECATED_MACRO 0 |
#define REQTYPE_TYPE_VENDOR __DEPRECATED_MACRO 2 |