44 #ifndef USB_SPECIFIC_REQUEST_H_
45 #define USB_SPECIFIC_REQUEST_H_
54 #define SEND_ENCAPSULATED_COMMAND 0x00
55 #define GET_ENCAPSULATED_COMMAND 0x01
56 #define GET_LINE_CODING 0x21
57 #define SET_LINE_CODING 0x20
58 #define SET_CONTROL_LINE_STATE 0x22
59 #define SEND_BREAK 0x23
60 #define MASS_STORAGE_RESET 0xFF
61 #define GET_MAX_LUN 0xFE
65 extern FLASH S_usb_user_configuration_descriptor_composite usb_conf_desc_composite;
66 extern FLASH S_usb_user_configuration_descriptor_network usb_conf_desc_network;
76 Bool usb_user_set_alt_interface(U8 interface, U8 alt_setting);
78 PGM_P usb_user_get_string(U8 string_type);
79 const char* usb_user_get_string_sram(U8 string_type);
81 void cdc_get_line_coding();
82 void cdc_set_line_coding();
83 void cdc_set_control_line_state (
void);
85 extern usb_mode_t usb_mode;
89 #endif //USB_SPECIFIC_REQUEST_H_
Usb Device Qualifier Descriptor.
void usb_user_endpoint_init(U8 conf_nb)
usb_user_endpoint_init.
Bool usb_user_read_request(U8 type, U8 request)
This function is called by the standard usb read request function when the Usb request is not support...
Bool usb_user_get_descriptor(U8 type, U8 string)
usb_user_get_descriptor.