USB-BDI
|
headerfile for usb_class_requests.c More...
Go to the source code of this file.
Defines | |
#define | VCP_COM_INTERFACE_NR 0x1 |
#define | VCP_BULK_INTERFACE_NR 0x2 |
#define | BDI_INTERFACE_NR 0x0 |
#define | SEND_ENCAPSULATED_COMMAND 0x00 |
#define | GET_ENCAPSULATED_RESPONSE 0x01 |
#define | SET_LINE_CODING 0x20 |
#define | GET_LINE_CODING 0x21 |
#define | SET_CONTROL_LINE_STATE 0x22 |
#define | SEND_BREAK 0x23 |
#define | SET_COMM_FEATURE 0x02 |
#define | GET_COMM_FEATURE 0x03 |
#define | CLEAR_COMM_FEATURE 0x04 |
Functions | |
void | classRequest () |
This method decide witch request has to be handled and calls the appropriate method. |
headerfile for usb_class_requests.c
Definition in file usb_class_requests.h.
#define BDI_INTERFACE_NR 0x0 |
USB-BDI Interface Number
Definition at line 33 of file usb_class_requests.h.
#define CLEAR_COMM_FEATURE 0x04 |
Defined by USB.org
Definition at line 52 of file usb_class_requests.h.
#define GET_COMM_FEATURE 0x03 |
Defined by USB.org
Definition at line 50 of file usb_class_requests.h.
#define GET_ENCAPSULATED_RESPONSE 0x01 |
Defined by USB.org
Definition at line 38 of file usb_class_requests.h.
#define GET_LINE_CODING 0x21 |
Defined by USB.org
Definition at line 42 of file usb_class_requests.h.
#define SEND_BREAK 0x23 |
Defined by USB.org
Definition at line 46 of file usb_class_requests.h.
#define SEND_ENCAPSULATED_COMMAND 0x00 |
Defined by USB.org
Definition at line 36 of file usb_class_requests.h.
#define SET_COMM_FEATURE 0x02 |
Defined by USB.org
Definition at line 48 of file usb_class_requests.h.
#define SET_CONTROL_LINE_STATE 0x22 |
Defined by USB.org
Definition at line 44 of file usb_class_requests.h.
#define SET_LINE_CODING 0x20 |
Defined by USB.org
Definition at line 40 of file usb_class_requests.h.
#define VCP_BULK_INTERFACE_NR 0x2 |
Virtual Com Port Bulk Interface Number
Definition at line 31 of file usb_class_requests.h.
#define VCP_COM_INTERFACE_NR 0x1 |
Virtual Com Port Communication Interface Number
Definition at line 29 of file usb_class_requests.h.