Add stream callback flags and class specific control request handler code to the...
[pub/USBasp.git] / Demos / Device / LowLevel / MIDI / Descriptors.h
index 672d08a..afb74c6 100644 (file)
                        USB_Descriptor_Header_t   Header; /**< Regular descriptor header containing the descriptor's type and length */
                        uint8_t                   Subtype; /**< Sub type value used to distinguish between audio class specific descriptors */
 
                        USB_Descriptor_Header_t   Header; /**< Regular descriptor header containing the descriptor's type and length */
                        uint8_t                   Subtype; /**< Sub type value used to distinguish between audio class specific descriptors */
 
-                       uint16_t                  ACSpecification; /** Binary coded decimal value, indicating the supported Audio Class specification version */
-                       uint16_t                  TotalLength; /** Total length of the Audio class specific control descriptors, including this descriptor */
+                       uint16_t                  ACSpecification; /**< Binary coded decimal value, indicating the supported Audio Class specification version */
+                       uint16_t                  TotalLength; /**< Total length of the Audio class specific control descriptors, including this descriptor */
                        
                        
-                       uint8_t                   InCollection; /** Total number of audio class interfaces within this device */
-                       uint8_t                   InterfaceNumbers[1]; /** Interface numbers of each audio interface */
+                       uint8_t                   InCollection; /**< Total number of audio class interfaces within this device */
+                       uint8_t                   InterfaceNumbers[1]; /**< Interface numbers of each audio interface */
                } USB_Audio_Interface_AC_t;
                
                /** Type define for an Audio class specific MIDI streaming interface descriptor. This indicates to the host
                } USB_Audio_Interface_AC_t;
                
                /** Type define for an Audio class specific MIDI streaming interface descriptor. This indicates to the host
                } USB_Descriptor_Configuration_t;
                
        /* Function Prototypes: */
                } USB_Descriptor_Configuration_t;
                
        /* Function Prototypes: */
-               uint16_t CALLBACK_USB_GetDescriptor(const uint16_t wValue, const uint8_t wIndex, void** const DescriptorAddress)
-                                                                                       ATTR_WARN_UNUSED_RESULT ATTR_NON_NULL_PTR_ARG(3);
+               uint16_t CALLBACK_USB_GetDescriptor(const uint16_t wValue,
+                                                   const uint8_t wIndex,
+                                                   void** const DescriptorAddress) ATTR_WARN_UNUSED_RESULT ATTR_NON_NULL_PTR_ARG(3);
 
 #endif
 
 #endif