36 #ifndef _DESCRIPTORS_H_ 37 #define _DESCRIPTORS_H_ 40 #include <avr/pgmspace.h> 42 #include <LUFA/Drivers/USB/USB.h> 46 #define CDC_NOTIFICATION_EPADDR (ENDPOINT_DIR_IN | 2) 49 #define CDC_TX_EPADDR (ENDPOINT_DIR_IN | 3) 52 #define CDC_RX_EPADDR (ENDPOINT_DIR_OUT | 4) 55 #define CDC_NOTIFICATION_EPSIZE 8 58 #define CDC_TXRX_EPSIZE 16 66 USB_Descriptor_Configuration_Header_t Config;
69 USB_Descriptor_Interface_t CDC_CCI_Interface;
70 USB_CDC_Descriptor_FunctionalHeader_t CDC_Functional_Header;
71 USB_CDC_Descriptor_FunctionalACM_t CDC_Functional_ACM;
72 USB_CDC_Descriptor_FunctionalUnion_t CDC_Functional_Union;
73 USB_Descriptor_Endpoint_t CDC_NotificationEndpoint;
76 USB_Descriptor_Interface_t CDC_DCI_Interface;
77 USB_Descriptor_Endpoint_t CDC_DataOutEndpoint;
78 USB_Descriptor_Endpoint_t CDC_DataInEndpoint;
84 const void **
const DescriptorAddress)
85 ATTR_WARN_UNUSED_RESULT ATTR_NON_NULL_PTR_ARG(3);
Definition: LUFADescriptors.h:65
uint16_t CALLBACK_USB_GetDescriptor(const uint16_t wValue, const uint8_t wIndex, const void **const DescriptorAddress) ATTR_WARN_UNUSED_RESULT ATTR_NON_NULL_PTR_ARG(3)
Definition: LUFADescriptors.c:223