#include <stdint.h>
Go to the source code of this file.
Data Structures | |
struct | usb_dev_desc_t |
struct | usb_conf_desc_t |
struct | usb_if_desc_t |
struct | usb_ep_desc_t |
Defines | |
#define | USB_REQ_GET_STATUS 0x00 |
#define | USB_REQ_CLEAR_FEATURE 0x01 |
#define | USB_REQ_RESERVED_1 0x02 |
#define | USB_REQ_SET_FEATURE 0x03 |
#define | USB_REQ_RESERVED_2 0x04 |
#define | USB_REQ_SET_ADDRESS 0x05 |
#define | USB_REQ_GET_DESCRIPTOR 0x06 |
#define | USB_REQ_SET_DESCRIPTOR 0x07 |
#define | USB_REQ_GET_CONFIGURATION 0x08 |
#define | USB_REQ_SET_CONFIGURATION 0x09 |
#define | USB_REQ_GET_INTERFACE 0x0a |
#define | USB_REQ_SET_INTERFACE 0x0b |
#define | USB_REQ_SYNCH_FRAME 0x0c |
#define | USB_DESC_DEVICE 0x01 |
#define | USB_DESC_CONFIGURATION 0x02 |
#define | USB_DESC_STRING 0x03 |
#define | USB_DESC_INTERFACE 0x04 |
#define | USB_DESC_ENDPOINT 0x05 |
#define | USB_DESC_DEVICE_QUAL 0x06 |
#define | USB_DESC_OTHER_SPEED_CONF 0x07 |
#define | USB_DESC_INTERFACE_POWER 0x08 |
#define | USB_ENDPOINT_TYPE_BULK 0x02 |
This file contain structures and constants defined in Chapter 9 of the USB 2.0 standard
Definition in file usb_desc.h.
#define USB_REQ_GET_STATUS 0x00 |
Definition at line 25 of file usb_desc.h.
#define USB_REQ_CLEAR_FEATURE 0x01 |
Definition at line 26 of file usb_desc.h.
#define USB_REQ_RESERVED_1 0x02 |
Definition at line 27 of file usb_desc.h.
#define USB_REQ_SET_FEATURE 0x03 |
Definition at line 28 of file usb_desc.h.
#define USB_REQ_RESERVED_2 0x04 |
Definition at line 29 of file usb_desc.h.
#define USB_REQ_SET_ADDRESS 0x05 |
Definition at line 30 of file usb_desc.h.
#define USB_REQ_GET_DESCRIPTOR 0x06 |
Definition at line 31 of file usb_desc.h.
#define USB_REQ_SET_DESCRIPTOR 0x07 |
Definition at line 32 of file usb_desc.h.
#define USB_REQ_GET_CONFIGURATION 0x08 |
Definition at line 33 of file usb_desc.h.
#define USB_REQ_SET_CONFIGURATION 0x09 |
Definition at line 34 of file usb_desc.h.
#define USB_REQ_GET_INTERFACE 0x0a |
Definition at line 35 of file usb_desc.h.
#define USB_REQ_SET_INTERFACE 0x0b |
Definition at line 36 of file usb_desc.h.
#define USB_REQ_SYNCH_FRAME 0x0c |
Definition at line 37 of file usb_desc.h.
#define USB_DESC_DEVICE 0x01 |
Definition at line 40 of file usb_desc.h.
#define USB_DESC_CONFIGURATION 0x02 |
Definition at line 41 of file usb_desc.h.
#define USB_DESC_STRING 0x03 |
Definition at line 42 of file usb_desc.h.
#define USB_DESC_INTERFACE 0x04 |
Definition at line 43 of file usb_desc.h.
#define USB_DESC_ENDPOINT 0x05 |
Definition at line 44 of file usb_desc.h.
#define USB_DESC_DEVICE_QUAL 0x06 |
Definition at line 45 of file usb_desc.h.
#define USB_DESC_OTHER_SPEED_CONF 0x07 |
Definition at line 46 of file usb_desc.h.
#define USB_DESC_INTERFACE_POWER 0x08 |
Definition at line 47 of file usb_desc.h.
#define USB_ENDPOINT_TYPE_BULK 0x02 |
Definition at line 50 of file usb_desc.h.