00001 //----------------------------------------------------------------------------- 00002 // USB_Class_Requests.h 00003 //----------------------------------------------------------------------------- 00004 00005 #ifndef USB_CLASS_REQUEST_H 00006 #define USB_CLASS_REQUEST_H 00007 00008 //----------------------------------------------------------------------------- 00009 // Definition of Class specific request for CDC 00010 //----------------------------------------------------------------------------- 00011 00012 // CDC ACM class specifc requests 00013 #define SEND_ENCAPSULATED_COMMAND 0x00 00014 #define GET_ENCAPSULATED_RESPONSE 0x01 00015 #define SET_LINE_CODING 0x20 00016 #define GET_LINE_CODING 0x21 00017 #define SET_CONTROL_LINE_STATE 0x22 00018 #define SEND_BREAK 0x23 00019 00020 //----------------------------------------------------------------------------- 00021 // Global variables 00022 //----------------------------------------------------------------------------- 00023 00024 //----------------------------------------------------------------------------- 00025 // Prototypes 00026 //----------------------------------------------------------------------------- 00027 00028 void Class_Request( void ); 00029 00030 #endif // USB_CLASS_REQUEST_H 00031 00032 //----------------------------------------------------------------------------- 00033 // End Of File 00034 //-----------------------------------------------------------------------------