projects
/
pub
/
USBasp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
9b20114
)
Fix doxygen documentation - doxygen was getting confused on the variable-length ATTR_...
author
Dean Camera
<dean@fourwalledcubicle.com>
Tue, 17 Nov 2009 11:28:07 +0000
(11:28 +0000)
committer
Dean Camera
<dean@fourwalledcubicle.com>
Tue, 17 Nov 2009 11:28:07 +0000
(11:28 +0000)
21 files changed:
Demos/Device/Incomplete/Sideshow/Descriptors.h
patch
|
blob
|
blame
|
history
LUFA/Drivers/USB/Class/Audio.h
patch
|
blob
|
blame
|
history
LUFA/Drivers/USB/Class/CDC.h
patch
|
blob
|
blame
|
history
LUFA/Drivers/USB/Class/Device/CDC.h
patch
|
blob
|
blame
|
history
LUFA/Drivers/USB/Class/Device/HID.h
patch
|
blob
|
blame
|
history
LUFA/Drivers/USB/Class/Device/MIDI.h
patch
|
blob
|
blame
|
history
LUFA/Drivers/USB/Class/Device/RNDIS.h
patch
|
blob
|
blame
|
history
LUFA/Drivers/USB/Class/HID.h
patch
|
blob
|
blame
|
history
LUFA/Drivers/USB/Class/Host/CDC.h
patch
|
blob
|
blame
|
history
LUFA/Drivers/USB/Class/Host/HID.h
patch
|
blob
|
blame
|
history
LUFA/Drivers/USB/Class/Host/HIDParser.h
patch
|
blob
|
blame
|
history
LUFA/Drivers/USB/Class/Host/MIDI.h
patch
|
blob
|
blame
|
history
LUFA/Drivers/USB/Class/Host/MassStorage.h
patch
|
blob
|
blame
|
history
LUFA/Drivers/USB/Class/Host/Printer.h
patch
|
blob
|
blame
|
history
LUFA/Drivers/USB/Class/Host/StillImage.h
patch
|
blob
|
blame
|
history
LUFA/Drivers/USB/Class/MIDI.h
patch
|
blob
|
blame
|
history
LUFA/Drivers/USB/Class/MassStorage.h
patch
|
blob
|
blame
|
history
LUFA/Drivers/USB/Class/Printer.h
patch
|
blob
|
blame
|
history
LUFA/Drivers/USB/Class/RNDIS.h
patch
|
blob
|
blame
|
history
LUFA/Drivers/USB/Class/StillImage.h
patch
|
blob
|
blame
|
history
LUFA/Drivers/USB/HighLevel/ConfigDescriptor.h
patch
|
blob
|
blame
|
history
diff --git
a/Demos/Device/Incomplete/Sideshow/Descriptors.h
b/Demos/Device/Incomplete/Sideshow/Descriptors.h
index
aeb1689
..
8fb5b6f
100644
(file)
--- a/
Demos/Device/Incomplete/Sideshow/Descriptors.h
+++ b/
Demos/Device/Incomplete/Sideshow/Descriptors.h
@@
-90,6
+90,6
@@
\r
bool USB_GetOSFeatureDescriptor(const uint16_t wValue, const uint8_t wIndex,
\r
void** const DescriptorAddress, uint16_t* const DescriptorSize)
\r
\r
bool USB_GetOSFeatureDescriptor(const uint16_t wValue, const uint8_t wIndex,
\r
void** const DescriptorAddress, uint16_t* const DescriptorSize)
\r
- ATTR_WARN_UNUSED_RESULT ATTR_WEAK ATTR_NON_NULL_PTR_ARG(3
,
4);
\r
+ ATTR_WARN_UNUSED_RESULT ATTR_WEAK ATTR_NON_NULL_PTR_ARG(3
) ATTR_NON_NULL_PTR_ARG(
4);
\r
\r
#endif
\r
\r
#endif
\r
diff --git
a/LUFA/Drivers/USB/Class/Audio.h
b/LUFA/Drivers/USB/Class/Audio.h
index
83eafcb
..
653944c
100644
(file)
--- a/
LUFA/Drivers/USB/Class/Audio.h
+++ b/
LUFA/Drivers/USB/Class/Audio.h
@@
-29,7
+29,7
@@
*/
\r
\r
/** \ingroup Group_USBClassDrivers
\r
*/
\r
\r
/** \ingroup Group_USBClassDrivers
\r
- * @defgroup Group_USBClassAudio Audio
Device
Class Driver - LUFA/Drivers/Class/Audio.h
\r
+ * @defgroup Group_USBClassAudio Audio Class Driver - LUFA/Drivers/Class/Audio.h
\r
*
\r
* \section Sec_Dependencies Module Source Dependencies
\r
* The following files must be built with any user project that uses this module:
\r
*
\r
* \section Sec_Dependencies Module Source Dependencies
\r
* The following files must be built with any user project that uses this module:
\r
diff --git
a/LUFA/Drivers/USB/Class/CDC.h
b/LUFA/Drivers/USB/Class/CDC.h
index
055859e
..
2014a22
100644
(file)
--- a/
LUFA/Drivers/USB/Class/CDC.h
+++ b/
LUFA/Drivers/USB/Class/CDC.h
@@
-29,7
+29,7
@@
*/
\r
\r
/** \ingroup Group_USBClassDrivers
\r
*/
\r
\r
/** \ingroup Group_USBClassDrivers
\r
- * @defgroup Group_USBClassCDC CDC
Device
Class Driver - LUFA/Drivers/Class/CDC.h
\r
+ * @defgroup Group_USBClassCDC CDC Class Driver - LUFA/Drivers/Class/CDC.h
\r
*
\r
* \section Sec_Dependencies Module Source Dependencies
\r
* The following files must be built with any user project that uses this module:
\r
*
\r
* \section Sec_Dependencies Module Source Dependencies
\r
* The following files must be built with any user project that uses this module:
\r
diff --git
a/LUFA/Drivers/USB/Class/Device/CDC.h
b/LUFA/Drivers/USB/Class/Device/CDC.h
index
f5a7507
..
f7bdee0
100644
(file)
--- a/
LUFA/Drivers/USB/Class/Device/CDC.h
+++ b/
LUFA/Drivers/USB/Class/Device/CDC.h
@@
-163,7
+163,8
@@
*
\r
* \return A value from the \ref Endpoint_Stream_RW_ErrorCodes_t enum
\r
*/
\r
*
\r
* \return A value from the \ref Endpoint_Stream_RW_ErrorCodes_t enum
\r
*/
\r
- uint8_t CDC_Device_SendString(USB_ClassInfo_CDC_Device_t* const CDCInterfaceInfo, char* const Data, const uint16_t Length) ATTR_NON_NULL_PTR_ARG(1, 2);
\r
+ uint8_t CDC_Device_SendString(USB_ClassInfo_CDC_Device_t* const CDCInterfaceInfo, char* const Data, const uint16_t Length)
\r
+ ATTR_NON_NULL_PTR_ARG(1) ATTR_NON_NULL_PTR_ARG(2);
\r
\r
/** Sends a given byte to the attached USB host, if connected. If a host is not connected when the function is called, the
\r
* byte is discarded.
\r
\r
/** Sends a given byte to the attached USB host, if connected. If a host is not connected when the function is called, the
\r
* byte is discarded.
\r
diff --git
a/LUFA/Drivers/USB/Class/Device/HID.h
b/LUFA/Drivers/USB/Class/Device/HID.h
index
d1c3526
..
25348f6
100644
(file)
--- a/
LUFA/Drivers/USB/Class/Device/HID.h
+++ b/
LUFA/Drivers/USB/Class/Device/HID.h
@@
-154,7
+154,8
@@
* the idle period (useful for devices which report relative movement), false otherwise
\r
*/
\r
bool CALLBACK_HID_Device_CreateHIDReport(USB_ClassInfo_HID_Device_t* const HIDInterfaceInfo, uint8_t* const ReportID,
\r
* the idle period (useful for devices which report relative movement), false otherwise
\r
*/
\r
bool CALLBACK_HID_Device_CreateHIDReport(USB_ClassInfo_HID_Device_t* const HIDInterfaceInfo, uint8_t* const ReportID,
\r
- void* ReportData, uint16_t* ReportSize) ATTR_NON_NULL_PTR_ARG(1, 2, 3, 4);
\r
+ void* ReportData, uint16_t* ReportSize) ATTR_NON_NULL_PTR_ARG(1) ATTR_NON_NULL_PTR_ARG(2)
\r
+ ATTR_NON_NULL_PTR_ARG(3) ATTR_NON_NULL_PTR_ARG(4);
\r
\r
/** HID class driver callback for the user processing of a received HID OUT report. This callback may fire in response to
\r
* either HID class control requests from the host, or by the normal HID endpoint polling procedure. Inside this callback
\r
\r
/** HID class driver callback for the user processing of a received HID OUT report. This callback may fire in response to
\r
* either HID class control requests from the host, or by the normal HID endpoint polling procedure. Inside this callback
\r
@@
-167,7
+168,8
@@
* \param[in] ReportSize Size in bytes of the received report from the host.
\r
*/
\r
void CALLBACK_HID_Device_ProcessHIDReport(USB_ClassInfo_HID_Device_t* const HIDInterfaceInfo, const uint8_t ReportID,
\r
* \param[in] ReportSize Size in bytes of the received report from the host.
\r
*/
\r
void CALLBACK_HID_Device_ProcessHIDReport(USB_ClassInfo_HID_Device_t* const HIDInterfaceInfo, const uint8_t ReportID,
\r
- const void* ReportData, const uint16_t ReportSize) ATTR_NON_NULL_PTR_ARG(1, 3);
\r
+ const void* ReportData, const uint16_t ReportSize) ATTR_NON_NULL_PTR_ARG(1)
\r
+ ATTR_NON_NULL_PTR_ARG(3);
\r
\r
/* Disable C linkage for C++ Compilers: */
\r
#if defined(__cplusplus)
\r
\r
/* Disable C linkage for C++ Compilers: */
\r
#if defined(__cplusplus)
\r
diff --git
a/LUFA/Drivers/USB/Class/Device/MIDI.h
b/LUFA/Drivers/USB/Class/Device/MIDI.h
index
b72e518
..
517c947
100644
(file)
--- a/
LUFA/Drivers/USB/Class/Device/MIDI.h
+++ b/
LUFA/Drivers/USB/Class/Device/MIDI.h
@@
-119,7
+119,7
@@
* \return A value from the \ref Endpoint_Stream_RW_ErrorCodes_t enum
\r
*/
\r
uint8_t MIDI_Device_SendEventPacket(USB_ClassInfo_MIDI_Device_t* const MIDIInterfaceInfo,
\r
* \return A value from the \ref Endpoint_Stream_RW_ErrorCodes_t enum
\r
*/
\r
uint8_t MIDI_Device_SendEventPacket(USB_ClassInfo_MIDI_Device_t* const MIDIInterfaceInfo,
\r
- MIDI_EventPacket_t* const Event) ATTR_NON_NULL_PTR_ARG(1
,
2);
\r
+ MIDI_EventPacket_t* const Event) ATTR_NON_NULL_PTR_ARG(1
) ATTR_NON_NULL_PTR_ARG(
2);
\r
\r
/** Receives a MIDI event packet from the host.
\r
*
\r
\r
/** Receives a MIDI event packet from the host.
\r
*
\r
@@
-129,7
+129,7
@@
* \return Boolean true if a MIDI event packet was received, false otherwise
\r
*/
\r
bool MIDI_Device_ReceiveEventPacket(USB_ClassInfo_MIDI_Device_t* const MIDIInterfaceInfo,
\r
* \return Boolean true if a MIDI event packet was received, false otherwise
\r
*/
\r
bool MIDI_Device_ReceiveEventPacket(USB_ClassInfo_MIDI_Device_t* const MIDIInterfaceInfo,
\r
- MIDI_EventPacket_t* const Event) ATTR_NON_NULL_PTR_ARG(1
,
2);
\r
+ MIDI_EventPacket_t* const Event) ATTR_NON_NULL_PTR_ARG(1
) ATTR_NON_NULL_PTR_ARG(
2);
\r
\r
/* Disable C linkage for C++ Compilers: */
\r
#if defined(__cplusplus)
\r
\r
/* Disable C linkage for C++ Compilers: */
\r
#if defined(__cplusplus)
\r
diff --git
a/LUFA/Drivers/USB/Class/Device/RNDIS.h
b/LUFA/Drivers/USB/Class/Device/RNDIS.h
index
f50776f
..
d09a600
100644
(file)
--- a/
LUFA/Drivers/USB/Class/Device/RNDIS.h
+++ b/
LUFA/Drivers/USB/Class/Device/RNDIS.h
@@
-133,12
+133,15
@@
#if !defined(__DOXYGEN__)
\r
/* Function Prototypes: */
\r
#if defined(INCLUDE_FROM_RNDIS_CLASS_DEVICE_C)
\r
#if !defined(__DOXYGEN__)
\r
/* Function Prototypes: */
\r
#if defined(INCLUDE_FROM_RNDIS_CLASS_DEVICE_C)
\r
- static void RNDIS_Device_ProcessRNDISControlMessage(USB_ClassInfo_RNDIS_Device_t* const RNDISInterfaceInfo) ATTR_NON_NULL_PTR_ARG(1);
\r
+ static void RNDIS_Device_ProcessRNDISControlMessage(USB_ClassInfo_RNDIS_Device_t* const RNDISInterfaceInfo)
\r
+ ATTR_NON_NULL_PTR_ARG(1);
\r
static bool RNDIS_Device_ProcessNDISQuery(USB_ClassInfo_RNDIS_Device_t* const RNDISInterfaceInfo,
\r
const uint32_t OId, void* const QueryData, const uint16_t QuerySize,
\r
static bool RNDIS_Device_ProcessNDISQuery(USB_ClassInfo_RNDIS_Device_t* const RNDISInterfaceInfo,
\r
const uint32_t OId, void* const QueryData, const uint16_t QuerySize,
\r
- void* ResponseData, uint16_t* const ResponseSize) ATTR_NON_NULL_PTR_ARG(1, 5, 6);
\r
+ void* ResponseData, uint16_t* const ResponseSize) ATTR_NON_NULL_PTR_ARG(1)
\r
+ ATTR_NON_NULL_PTR_ARG(5) ATTR_NON_NULL_PTR_ARG(6);
\r
static bool RNDIS_Device_ProcessNDISSet(USB_ClassInfo_RNDIS_Device_t* const RNDISInterfaceInfo, const uint32_t OId,
\r
static bool RNDIS_Device_ProcessNDISSet(USB_ClassInfo_RNDIS_Device_t* const RNDISInterfaceInfo, const uint32_t OId,
\r
- void* SetData, const uint16_t SetSize) ATTR_NON_NULL_PTR_ARG(1, 3);
\r
+ void* SetData, const uint16_t SetSize) ATTR_NON_NULL_PTR_ARG(1)
\r
+ ATTR_NON_NULL_PTR_ARG(3);
\r
#endif
\r
\r
#endif
\r
#endif
\r
\r
#endif
\r
diff --git
a/LUFA/Drivers/USB/Class/HID.h
b/LUFA/Drivers/USB/Class/HID.h
index
6e331cb
..
2d42806
100644
(file)
--- a/
LUFA/Drivers/USB/Class/HID.h
+++ b/
LUFA/Drivers/USB/Class/HID.h
@@
-29,7
+29,7
@@
*/
\r
\r
/** \ingroup Group_USBClassDrivers
\r
*/
\r
\r
/** \ingroup Group_USBClassDrivers
\r
- * @defgroup Group_USBClassHID HID
Device
Class Driver - LUFA/Drivers/Class/HID.h
\r
+ * @defgroup Group_USBClassHID HID Class Driver - LUFA/Drivers/Class/HID.h
\r
*
\r
* \section Sec_Dependencies Module Source Dependencies
\r
* The following files must be built with any user project that uses this module:
\r
*
\r
* \section Sec_Dependencies Module Source Dependencies
\r
* The following files must be built with any user project that uses this module:
\r
diff --git
a/LUFA/Drivers/USB/Class/Host/CDC.h
b/LUFA/Drivers/USB/Class/Host/CDC.h
index
9b5fb0c
..
0ead68c
100644
(file)
--- a/
LUFA/Drivers/USB/Class/Host/CDC.h
+++ b/
LUFA/Drivers/USB/Class/Host/CDC.h
@@
-147,7
+147,7
@@
* \return A value from the \ref CDCHost_EnumerationFailure_ErrorCodes_t enum
\r
*/
\r
uint8_t CDC_Host_ConfigurePipes(USB_ClassInfo_CDC_Host_t* const CDCInterfaceInfo, uint16_t ConfigDescriptorSize,
\r
* \return A value from the \ref CDCHost_EnumerationFailure_ErrorCodes_t enum
\r
*/
\r
uint8_t CDC_Host_ConfigurePipes(USB_ClassInfo_CDC_Host_t* const CDCInterfaceInfo, uint16_t ConfigDescriptorSize,
\r
- void* DeviceConfigDescriptor) ATTR_NON_NULL_PTR_ARG(1
,
3);
\r
+ void* DeviceConfigDescriptor) ATTR_NON_NULL_PTR_ARG(1
) ATTR_NON_NULL_PTR_ARG(
3);
\r
\r
/** Sets the line encoding for the attached device's virtual serial port. This should be called when the LineEncoding
\r
* values of the interface have been changed to push the new settings to the USB device.
\r
\r
/** Sets the line encoding for the attached device's virtual serial port. This should be called when the LineEncoding
\r
* values of the interface have been changed to push the new settings to the USB device.
\r
@@
-178,7
+178,8
@@
*
\r
* \return A value from the \ref Pipe_Stream_RW_ErrorCodes_t enum
\r
*/
\r
*
\r
* \return A value from the \ref Pipe_Stream_RW_ErrorCodes_t enum
\r
*/
\r
- uint8_t CDC_Host_SendString(USB_ClassInfo_CDC_Host_t* const CDCInterfaceInfo, char* Data, const uint16_t Length) ATTR_NON_NULL_PTR_ARG(1, 2);
\r
+ uint8_t CDC_Host_SendString(USB_ClassInfo_CDC_Host_t* const CDCInterfaceInfo, char* Data, const uint16_t Length)
\r
+ ATTR_NON_NULL_PTR_ARG(1) ATTR_NON_NULL_PTR_ARG(2);
\r
\r
/** Sends a given byte to the attached USB device, if connected. If a host is not connected when the function is called, the
\r
* byte is discarded.
\r
\r
/** Sends a given byte to the attached USB device, if connected. If a host is not connected when the function is called, the
\r
* byte is discarded.
\r
diff --git
a/LUFA/Drivers/USB/Class/Host/HID.h
b/LUFA/Drivers/USB/Class/Host/HID.h
index
2860b81
..
f6bd81c
100644
(file)
--- a/
LUFA/Drivers/USB/Class/Host/HID.h
+++ b/
LUFA/Drivers/USB/Class/Host/HID.h
@@
-154,7
+154,7
@@
* \return A value from the \ref HIDHost_EnumerationFailure_ErrorCodes_t enum
\r
*/
\r
uint8_t HID_Host_ConfigurePipes(USB_ClassInfo_HID_Host_t* const HIDInterfaceInfo, uint16_t ConfigDescriptorSize,
\r
* \return A value from the \ref HIDHost_EnumerationFailure_ErrorCodes_t enum
\r
*/
\r
uint8_t HID_Host_ConfigurePipes(USB_ClassInfo_HID_Host_t* const HIDInterfaceInfo, uint16_t ConfigDescriptorSize,
\r
- void* DeviceConfigDescriptor) ATTR_NON_NULL_PTR_ARG(1
,
3);
\r
+ void* DeviceConfigDescriptor) ATTR_NON_NULL_PTR_ARG(1
) ATTR_NON_NULL_PTR_ARG(
3);
\r
\r
\r
/** Receives a HID IN report from the attached HID device, when a report has been received on the HID IN Data pipe.
\r
\r
\r
/** Receives a HID IN report from the attached HID device, when a report has been received on the HID IN Data pipe.
\r
@@
-167,7
+167,8
@@
*
\r
* \return An error code from the \ref Pipe_Stream_RW_ErrorCodes_t enum
\r
*/
\r
*
\r
* \return An error code from the \ref Pipe_Stream_RW_ErrorCodes_t enum
\r
*/
\r
- uint8_t HID_Host_ReceiveReport(USB_ClassInfo_HID_Host_t* const HIDInterfaceInfo, void* Buffer) ATTR_NON_NULL_PTR_ARG(1, 2);
\r
+ uint8_t HID_Host_ReceiveReport(USB_ClassInfo_HID_Host_t* const HIDInterfaceInfo, void* Buffer)
\r
+ ATTR_NON_NULL_PTR_ARG(1) ATTR_NON_NULL_PTR_ARG(2);
\r
\r
#if !defined(HID_HOST_BOOT_PROTOCOL_ONLY)
\r
/** Receives a HID IN report from the attached device, by the report ID.
\r
\r
#if !defined(HID_HOST_BOOT_PROTOCOL_ONLY)
\r
/** Receives a HID IN report from the attached device, by the report ID.
\r
@@
-181,7
+182,7
@@
* \return A value from the \ref USB_Host_SendControlErrorCodes_t enum
\r
*/
\r
uint8_t HID_Host_ReceiveReportByID(USB_ClassInfo_HID_Host_t* const HIDInterfaceInfo, const uint8_t ReportID,
\r
* \return A value from the \ref USB_Host_SendControlErrorCodes_t enum
\r
*/
\r
uint8_t HID_Host_ReceiveReportByID(USB_ClassInfo_HID_Host_t* const HIDInterfaceInfo, const uint8_t ReportID,
\r
- void* Buffer) ATTR_NON_NULL_PTR_ARG(1
,
3);
\r
+ void* Buffer) ATTR_NON_NULL_PTR_ARG(1
) ATTR_NON_NULL_PTR_ARG(
3);
\r
#endif
\r
\r
/** Sends an OUT report to the currently attached HID device, using the device's OUT pipe if available or the device's
\r
#endif
\r
\r
/** Sends an OUT report to the currently attached HID device, using the device's OUT pipe if available or the device's
\r
@@
-202,11
+203,11
@@
#if !defined(HID_HOST_BOOT_PROTOCOL_ONLY)
\r
const uint8_t ReportID,
\r
#endif
\r
#if !defined(HID_HOST_BOOT_PROTOCOL_ONLY)
\r
const uint8_t ReportID,
\r
#endif
\r
- void* Buffer, const uint16_t ReportSize)
\r
+ void* Buffer, const uint16_t ReportSize)
ATTR_NON_NULL_PTR_ARG(1)
\r
#if !defined(HID_HOST_BOOT_PROTOCOL_ONLY)
\r
#if !defined(HID_HOST_BOOT_PROTOCOL_ONLY)
\r
- ATTR_NON_NULL_PTR_ARG(
1,
3);
\r
+ ATTR_NON_NULL_PTR_ARG(3);
\r
#else
\r
#else
\r
- ATTR_NON_NULL_PTR_ARG(
1,
2);
\r
+ ATTR_NON_NULL_PTR_ARG(2);
\r
#endif
\r
\r
/** Determines if a HID IN report has been received from the attached device on the data IN pipe.
\r
#endif
\r
\r
/** Determines if a HID IN report has been received from the attached device on the data IN pipe.
\r
diff --git
a/LUFA/Drivers/USB/Class/Host/HIDParser.h
b/LUFA/Drivers/USB/Class/Host/HIDParser.h
index
d7ef272
..
b047147
100644
(file)
--- a/
LUFA/Drivers/USB/Class/Host/HIDParser.h
+++ b/
LUFA/Drivers/USB/Class/Host/HIDParser.h
@@
-238,7
+238,7
@@
* \return A value in the \ref HID_Parse_ErrorCodes_t enum
\r
*/
\r
uint8_t USB_ProcessHIDReport(const uint8_t* ReportData, uint16_t ReportSize, HID_ReportInfo_t* const ParserData)
\r
* \return A value in the \ref HID_Parse_ErrorCodes_t enum
\r
*/
\r
uint8_t USB_ProcessHIDReport(const uint8_t* ReportData, uint16_t ReportSize, HID_ReportInfo_t* const ParserData)
\r
- ATTR_NON_NULL_PTR_ARG(1
,
3);
\r
+ ATTR_NON_NULL_PTR_ARG(1
) ATTR_NON_NULL_PTR_ARG(
3);
\r
\r
/** Extracts the given report item's value out of the given HID report and places it into the Value
\r
* member of the report item's \ref HID_ReportItem_t structure.
\r
\r
/** Extracts the given report item's value out of the given HID report and places it into the Value
\r
* member of the report item's \ref HID_ReportItem_t structure.
\r
@@
-249,7
+249,7
@@
* \returns Boolean true if the item to retrieve was located in the given report, false otherwise
\r
*/
\r
bool USB_GetHIDReportItemInfo(const uint8_t* ReportData, HID_ReportItem_t* const ReportItem)
\r
* \returns Boolean true if the item to retrieve was located in the given report, false otherwise
\r
*/
\r
bool USB_GetHIDReportItemInfo(const uint8_t* ReportData, HID_ReportItem_t* const ReportItem)
\r
- ATTR_NON_NULL_PTR_ARG(1
,
2);
\r
+ ATTR_NON_NULL_PTR_ARG(1
) ATTR_NON_NULL_PTR_ARG(
2);
\r
\r
/** Retrieves the given report item's value out of the Value member of the report item's
\r
* \ref HID_ReportItem_t structure and places it into the correct position in the HID report
\r
\r
/** Retrieves the given report item's value out of the Value member of the report item's
\r
* \ref HID_ReportItem_t structure and places it into the correct position in the HID report
\r
@@
-262,7
+262,7
@@
* \param[in] ReportItem Pointer to the report item of interest in a \ref HID_ReportInfo_t ReportItem array
\r
*/
\r
void USB_SetHIDReportItemInfo(uint8_t* ReportData, const HID_ReportItem_t* ReportItem)
\r
* \param[in] ReportItem Pointer to the report item of interest in a \ref HID_ReportInfo_t ReportItem array
\r
*/
\r
void USB_SetHIDReportItemInfo(uint8_t* ReportData, const HID_ReportItem_t* ReportItem)
\r
- ATTR_NON_NULL_PTR_ARG(1
,
2);
\r
+ ATTR_NON_NULL_PTR_ARG(1
) ATTR_NON_NULL_PTR_ARG(
2);
\r
\r
/** Retrieves the size of a given HID report in bytes from it's Report ID.
\r
*
\r
\r
/** Retrieves the size of a given HID report in bytes from it's Report ID.
\r
*
\r
@@
-274,7
+274,7
@@
* \return Size of the report in bytes, or 0 if the report does not exist
\r
*/
\r
uint16_t USB_GetHIDReportSize(HID_ReportInfo_t* const ParserData, const uint8_t ReportID,
\r
* \return Size of the report in bytes, or 0 if the report does not exist
\r
*/
\r
uint16_t USB_GetHIDReportSize(HID_ReportInfo_t* const ParserData, const uint8_t ReportID,
\r
- const uint8_t ReportType) ATTR_
NON_NULL_PTR_ARG(1) ATTR_CONST
;
\r
+ const uint8_t ReportType) ATTR_
CONST ATTR_NON_NULL_PTR_ARG(1)
;
\r
\r
/** Callback routine for the HID Report Parser. This callback <b>must</b> be implemented by the user code when
\r
* the parser is used, to determine what report IN, OUT and FEATURE item's information is stored into the user
\r
\r
/** Callback routine for the HID Report Parser. This callback <b>must</b> be implemented by the user code when
\r
* the parser is used, to determine what report IN, OUT and FEATURE item's information is stored into the user
\r
diff --git
a/LUFA/Drivers/USB/Class/Host/MIDI.h
b/LUFA/Drivers/USB/Class/Host/MIDI.h
index
cc294a4
..
7446545
100644
(file)
--- a/
LUFA/Drivers/USB/Class/Host/MIDI.h
+++ b/
LUFA/Drivers/USB/Class/Host/MIDI.h
@@
-117,7
+117,7
@@
* \return A value from the \ref MIDIHost_EnumerationFailure_ErrorCodes_t enum
\r
*/
\r
uint8_t MIDI_Host_ConfigurePipes(USB_ClassInfo_MIDI_Host_t* const MIDIInterfaceInfo, uint16_t ConfigDescriptorSize,
\r
* \return A value from the \ref MIDIHost_EnumerationFailure_ErrorCodes_t enum
\r
*/
\r
uint8_t MIDI_Host_ConfigurePipes(USB_ClassInfo_MIDI_Host_t* const MIDIInterfaceInfo, uint16_t ConfigDescriptorSize,
\r
- void* DeviceConfigDescriptor) ATTR_NON_NULL_PTR_ARG(1
,
3);
\r
+ void* DeviceConfigDescriptor) ATTR_NON_NULL_PTR_ARG(1
) ATTR_NON_NULL_PTR_ARG(
3);
\r
\r
/** Sends a MIDI event packet to the device. If no device is connected, the event packet is discarded.
\r
*
\r
\r
/** Sends a MIDI event packet to the device. If no device is connected, the event packet is discarded.
\r
*
\r
@@
-127,7
+127,7
@@
* \return A value from the \ref Pipe_Stream_RW_ErrorCodes_t enum
\r
*/
\r
uint8_t MIDI_Host_SendEventPacket(USB_ClassInfo_MIDI_Host_t* const MIDIInterfaceInfo,
\r
* \return A value from the \ref Pipe_Stream_RW_ErrorCodes_t enum
\r
*/
\r
uint8_t MIDI_Host_SendEventPacket(USB_ClassInfo_MIDI_Host_t* const MIDIInterfaceInfo,
\r
- MIDI_EventPacket_t* const Event) ATTR_NON_NULL_PTR_ARG(1
,
2);
\r
+ MIDI_EventPacket_t* const Event) ATTR_NON_NULL_PTR_ARG(1
) ATTR_NON_NULL_PTR_ARG(
2);
\r
\r
/** Receives a MIDI event packet from the device.
\r
*
\r
\r
/** Receives a MIDI event packet from the device.
\r
*
\r
@@
-137,7
+137,7
@@
* \return Boolean true if a MIDI event packet was received, false otherwise
\r
*/
\r
bool MIDI_Host_ReceiveEventPacket(USB_ClassInfo_MIDI_Host_t* const MIDIInterfaceInfo,
\r
* \return Boolean true if a MIDI event packet was received, false otherwise
\r
*/
\r
bool MIDI_Host_ReceiveEventPacket(USB_ClassInfo_MIDI_Host_t* const MIDIInterfaceInfo,
\r
- MIDI_EventPacket_t* const Event) ATTR_NON_NULL_PTR_ARG(1
,
2);
\r
+ MIDI_EventPacket_t* const Event) ATTR_NON_NULL_PTR_ARG(1
) ATTR_NON_NULL_PTR_ARG(
2);
\r
\r
/* Private Interface - For use in library only: */
\r
#if !defined(__DOXYGEN__)
\r
\r
/* Private Interface - For use in library only: */
\r
#if !defined(__DOXYGEN__)
\r
diff --git
a/LUFA/Drivers/USB/Class/Host/MassStorage.h
b/LUFA/Drivers/USB/Class/Host/MassStorage.h
index
2b6b0ae
..
17e5bab
100644
(file)
--- a/
LUFA/Drivers/USB/Class/Host/MassStorage.h
+++ b/
LUFA/Drivers/USB/Class/Host/MassStorage.h
@@
-197,7
+197,7
@@
* \return A value from the \ref MSHost_EnumerationFailure_ErrorCodes_t enum
\r
*/
\r
uint8_t MS_Host_ConfigurePipes(USB_ClassInfo_MS_Host_t* const MSInterfaceInfo, uint16_t ConfigDescriptorSize,
\r
* \return A value from the \ref MSHost_EnumerationFailure_ErrorCodes_t enum
\r
*/
\r
uint8_t MS_Host_ConfigurePipes(USB_ClassInfo_MS_Host_t* const MSInterfaceInfo, uint16_t ConfigDescriptorSize,
\r
- void* DeviceConfigDescriptor) ATTR_NON_NULL_PTR_ARG(1
,
3);
\r
+ void* DeviceConfigDescriptor) ATTR_NON_NULL_PTR_ARG(1
) ATTR_NON_NULL_PTR_ARG(
3);
\r
\r
/** Sends a MASS STORAGE RESET control request to the attached device, resetting the Mass Storage Interface
\r
* and readying it for the next Mass Storage command.
\r
\r
/** Sends a MASS STORAGE RESET control request to the attached device, resetting the Mass Storage Interface
\r
* and readying it for the next Mass Storage command.
\r
@@
-217,7
+217,8
@@
*
\r
* \return A value from the \ref USB_Host_SendControlErrorCodes_t enum
\r
*/
\r
*
\r
* \return A value from the \ref USB_Host_SendControlErrorCodes_t enum
\r
*/
\r
- uint8_t MS_Host_GetMaxLUN(USB_ClassInfo_MS_Host_t* const MSInterfaceInfo, uint8_t* const MaxLUNIndex) ATTR_NON_NULL_PTR_ARG(1, 2);
\r
+ uint8_t MS_Host_GetMaxLUN(USB_ClassInfo_MS_Host_t* const MSInterfaceInfo, uint8_t* const MaxLUNIndex)
\r
+ ATTR_NON_NULL_PTR_ARG(1) ATTR_NON_NULL_PTR_ARG(2);
\r
\r
/** Retrieves the Mass Storage device's inquiry data for the specified LUN, indicating the device characteristics and
\r
* properties.
\r
\r
/** Retrieves the Mass Storage device's inquiry data for the specified LUN, indicating the device characteristics and
\r
* properties.
\r
@@
-229,7
+230,8
@@
* \return A value from the \ref Pipe_Stream_RW_ErrorCodes_t enum or MS_ERROR_LOGICAL_CMD_FAILED
\r
*/
\r
uint8_t MS_Host_GetInquiryData(USB_ClassInfo_MS_Host_t* const MSInterfaceInfo, const uint8_t LUNIndex,
\r
* \return A value from the \ref Pipe_Stream_RW_ErrorCodes_t enum or MS_ERROR_LOGICAL_CMD_FAILED
\r
*/
\r
uint8_t MS_Host_GetInquiryData(USB_ClassInfo_MS_Host_t* const MSInterfaceInfo, const uint8_t LUNIndex,
\r
- SCSI_Inquiry_Response_t* const InquiryData) ATTR_NON_NULL_PTR_ARG(1, 3);
\r
+ SCSI_Inquiry_Response_t* const InquiryData) ATTR_NON_NULL_PTR_ARG(1)
\r
+ ATTR_NON_NULL_PTR_ARG(3);
\r
\r
/** Sends a TEST UNIT READY command to the device, to determine if it is ready to accept other SCSI commands.
\r
*
\r
\r
/** Sends a TEST UNIT READY command to the device, to determine if it is ready to accept other SCSI commands.
\r
*
\r
@@
-238,7
+240,8
@@
*
\r
* \return A value from the \ref Pipe_Stream_RW_ErrorCodes_t enum or MS_ERROR_LOGICAL_CMD_FAILED if not ready
\r
*/
\r
*
\r
* \return A value from the \ref Pipe_Stream_RW_ErrorCodes_t enum or MS_ERROR_LOGICAL_CMD_FAILED if not ready
\r
*/
\r
- uint8_t MS_Host_TestUnitReady(USB_ClassInfo_MS_Host_t* const MSInterfaceInfo, const uint8_t LUNIndex) ATTR_NON_NULL_PTR_ARG(1);
\r
+ uint8_t MS_Host_TestUnitReady(USB_ClassInfo_MS_Host_t* const MSInterfaceInfo, const uint8_t LUNIndex)
\r
+ ATTR_NON_NULL_PTR_ARG(1);
\r
\r
/** Retrieves the total capacity of the attached USB Mass Storage device, in blocks, and block size.
\r
*
\r
\r
/** Retrieves the total capacity of the attached USB Mass Storage device, in blocks, and block size.
\r
*
\r
@@
-249,7
+252,8
@@
* \return A value from the \ref Pipe_Stream_RW_ErrorCodes_t enum or MS_ERROR_LOGICAL_CMD_FAILED if not ready
\r
*/
\r
uint8_t MS_Host_ReadDeviceCapacity(USB_ClassInfo_MS_Host_t* const MSInterfaceInfo, const uint8_t LUNIndex,
\r
* \return A value from the \ref Pipe_Stream_RW_ErrorCodes_t enum or MS_ERROR_LOGICAL_CMD_FAILED if not ready
\r
*/
\r
uint8_t MS_Host_ReadDeviceCapacity(USB_ClassInfo_MS_Host_t* const MSInterfaceInfo, const uint8_t LUNIndex,
\r
- SCSI_Capacity_t* const DeviceCapacity) ATTR_NON_NULL_PTR_ARG(1, 3);
\r
+ SCSI_Capacity_t* const DeviceCapacity) ATTR_NON_NULL_PTR_ARG(1)
\r
+ ATTR_NON_NULL_PTR_ARG(3);
\r
\r
/** Retrieves the device sense data, indicating the current device state and error codes for the previously
\r
* issued command.
\r
\r
/** Retrieves the device sense data, indicating the current device state and error codes for the previously
\r
* issued command.
\r
@@
-261,7
+265,8
@@
* \return A value from the \ref Pipe_Stream_RW_ErrorCodes_t enum or MS_ERROR_LOGICAL_CMD_FAILED if not ready
\r
*/
\r
uint8_t MS_Host_RequestSense(USB_ClassInfo_MS_Host_t* const MSInterfaceInfo, const uint8_t LUNIndex,
\r
* \return A value from the \ref Pipe_Stream_RW_ErrorCodes_t enum or MS_ERROR_LOGICAL_CMD_FAILED if not ready
\r
*/
\r
uint8_t MS_Host_RequestSense(USB_ClassInfo_MS_Host_t* const MSInterfaceInfo, const uint8_t LUNIndex,
\r
- SCSI_Request_Sense_Response_t* const SenseData) ATTR_NON_NULL_PTR_ARG(1, 3);
\r
+ SCSI_Request_Sense_Response_t* const SenseData) ATTR_NON_NULL_PTR_ARG(1)
\r
+ ATTR_NON_NULL_PTR_ARG(3);
\r
\r
/** Issues a PREVENT MEDIUM REMOVAL command, to logically (or, depending on the type of device, physically) lock
\r
* the device from removal so that blocks of data on the medium can be read or altered.
\r
\r
/** Issues a PREVENT MEDIUM REMOVAL command, to logically (or, depending on the type of device, physically) lock
\r
* the device from removal so that blocks of data on the medium can be read or altered.
\r
@@
-288,7
+293,7
@@
*/
\r
uint8_t MS_Host_ReadDeviceBlocks(USB_ClassInfo_MS_Host_t* const MSInterfaceInfo, const uint8_t LUNIndex,
\r
const uint32_t BlockAddress, const uint8_t Blocks, const uint16_t BlockSize,
\r
*/
\r
uint8_t MS_Host_ReadDeviceBlocks(USB_ClassInfo_MS_Host_t* const MSInterfaceInfo, const uint8_t LUNIndex,
\r
const uint32_t BlockAddress, const uint8_t Blocks, const uint16_t BlockSize,
\r
- void* BlockBuffer) ATTR_NON_NULL_PTR_ARG(1
,
6);
\r
+ void* BlockBuffer) ATTR_NON_NULL_PTR_ARG(1
) ATTR_NON_NULL_PTR_ARG(
6);
\r
\r
/** Writes blocks of data to the attached Mass Storage device's medium.
\r
*
\r
\r
/** Writes blocks of data to the attached Mass Storage device's medium.
\r
*
\r
@@
-303,7
+308,7
@@
*/
\r
uint8_t MS_Host_WriteDeviceBlocks(USB_ClassInfo_MS_Host_t* const MSInterfaceInfo, const uint8_t LUNIndex,
\r
const uint32_t BlockAddress, const uint8_t Blocks, const uint16_t BlockSize,
\r
*/
\r
uint8_t MS_Host_WriteDeviceBlocks(USB_ClassInfo_MS_Host_t* const MSInterfaceInfo, const uint8_t LUNIndex,
\r
const uint32_t BlockAddress, const uint8_t Blocks, const uint16_t BlockSize,
\r
- void* BlockBuffer) ATTR_NON_NULL_PTR_ARG(1
,
6);
\r
+ void* BlockBuffer) ATTR_NON_NULL_PTR_ARG(1
) ATTR_NON_NULL_PTR_ARG(
6);
\r
\r
/* Private Interface - For use in library only: */
\r
#if !defined(__DOXYGEN__)
\r
\r
/* Private Interface - For use in library only: */
\r
#if !defined(__DOXYGEN__)
\r
diff --git
a/LUFA/Drivers/USB/Class/Host/Printer.h
b/LUFA/Drivers/USB/Class/Host/Printer.h
index
92b0a3d
..
f4fa860
100644
(file)
--- a/
LUFA/Drivers/USB/Class/Host/Printer.h
+++ b/
LUFA/Drivers/USB/Class/Host/Printer.h
@@
-122,7
+122,7
@@
* \return A value from the \ref PRNTHost_EnumerationFailure_ErrorCodes_t enum
\r
*/
\r
uint8_t PRNT_Host_ConfigurePipes(USB_ClassInfo_PRNT_Host_t* const PRNTInterfaceInfo, uint16_t ConfigDescriptorSize,
\r
* \return A value from the \ref PRNTHost_EnumerationFailure_ErrorCodes_t enum
\r
*/
\r
uint8_t PRNT_Host_ConfigurePipes(USB_ClassInfo_PRNT_Host_t* const PRNTInterfaceInfo, uint16_t ConfigDescriptorSize,
\r
- void* DeviceConfigDescriptor) ATTR_NON_NULL_PTR_ARG(1
,
3);
\r
+ void* DeviceConfigDescriptor) ATTR_NON_NULL_PTR_ARG(1
) ATTR_NON_NULL_PTR_ARG(
3);
\r
\r
/** Configures the printer to enable Bidirectional mode, if it is not already in this mode. This should be called
\r
* once the connected device's configuration has been set, to ensure the printer is ready to accept commands.
\r
\r
/** Configures the printer to enable Bidirectional mode, if it is not already in this mode. This should be called
\r
* once the connected device's configuration has been set, to ensure the printer is ready to accept commands.
\r
@@
-142,7
+142,7
@@
* \return A value from the \ref USB_Host_SendControlErrorCodes_t enum
\r
*/
\r
uint8_t PRNT_Host_GetPortStatus(USB_ClassInfo_PRNT_Host_t* const PRNTInterfaceInfo, uint8_t* const PortStatus)
\r
* \return A value from the \ref USB_Host_SendControlErrorCodes_t enum
\r
*/
\r
uint8_t PRNT_Host_GetPortStatus(USB_ClassInfo_PRNT_Host_t* const PRNTInterfaceInfo, uint8_t* const PortStatus)
\r
- ATTR_NON_NULL_PTR_ARG(1
,
2);
\r
+ ATTR_NON_NULL_PTR_ARG(1
) ATTR_NON_NULL_PTR_ARG(
2);
\r
\r
/** Soft-resets the attached printer, readying it for new commands.
\r
*
\r
\r
/** Soft-resets the attached printer, readying it for new commands.
\r
*
\r
@@
-163,7
+163,7
@@
* \return A value from the \ref Pipe_Stream_RW_ErrorCodes_t enum
\r
*/
\r
uint8_t PRNT_Host_SendData(USB_ClassInfo_PRNT_Host_t* const PRNTInterfaceInfo, void* PrinterCommands,
\r
* \return A value from the \ref Pipe_Stream_RW_ErrorCodes_t enum
\r
*/
\r
uint8_t PRNT_Host_SendData(USB_ClassInfo_PRNT_Host_t* const PRNTInterfaceInfo, void* PrinterCommands,
\r
- uint16_t CommandSize) ATTR_NON_NULL_PTR_ARG(1
,
2);
\r
+ uint16_t CommandSize) ATTR_NON_NULL_PTR_ARG(1
) ATTR_NON_NULL_PTR_ARG(
2);
\r
\r
/** Retrieves the attached printer device's ID string, formatted according to IEEE 1284. This string is sent as a
\r
* Unicode string from the device and is automatically converted to an ASCII encoded C string by this function, thus
\r
\r
/** Retrieves the attached printer device's ID string, formatted according to IEEE 1284. This string is sent as a
\r
* Unicode string from the device and is automatically converted to an ASCII encoded C string by this function, thus
\r
diff --git
a/LUFA/Drivers/USB/Class/Host/StillImage.h
b/LUFA/Drivers/USB/Class/Host/StillImage.h
index
19adbda
..
ab2864a
100644
(file)
--- a/
LUFA/Drivers/USB/Class/Host/StillImage.h
+++ b/
LUFA/Drivers/USB/Class/Host/StillImage.h
@@
-130,7
+130,7
@@
* \return A value from the \ref SIHost_EnumerationFailure_ErrorCodes_t enum
\r
*/
\r
uint8_t SI_Host_ConfigurePipes(USB_ClassInfo_SI_Host_t* const SIInterfaceInfo, uint16_t ConfigDescriptorSize,
\r
* \return A value from the \ref SIHost_EnumerationFailure_ErrorCodes_t enum
\r
*/
\r
uint8_t SI_Host_ConfigurePipes(USB_ClassInfo_SI_Host_t* const SIInterfaceInfo, uint16_t ConfigDescriptorSize,
\r
- void* DeviceConfigDescriptor) ATTR_NON_NULL_PTR_ARG(1
,
3);
\r
+ void* DeviceConfigDescriptor) ATTR_NON_NULL_PTR_ARG(1
) ATTR_NON_NULL_PTR_ARG(
3);
\r
\r
/** Opens a new PIMA session with the attached device. This should be used before any session-orientated PIMA commands
\r
* are issued to the device. Only one session can be open at the one time.
\r
\r
/** Opens a new PIMA session with the attached device. This should be used before any session-orientated PIMA commands
\r
* are issued to the device. Only one session can be open at the one time.
\r
@@
-192,7
+192,8
@@
* returned a logical command failure
\r
*/
\r
uint8_t SImage_Host_ReceiveEventHeader(USB_ClassInfo_SI_Host_t* const SIInterfaceInfo,
\r
* returned a logical command failure
\r
*/
\r
uint8_t SImage_Host_ReceiveEventHeader(USB_ClassInfo_SI_Host_t* const SIInterfaceInfo,
\r
- SI_PIMA_Container_t* const PIMAHeader) ATTR_NON_NULL_PTR_ARG(1, 2);
\r
+ SI_PIMA_Container_t* const PIMAHeader) ATTR_NON_NULL_PTR_ARG(1)
\r
+ ATTR_NON_NULL_PTR_ARG(2);
\r
\r
/** Sends arbitrary data to the attached device, for use in the data phase of PIMA commands which require data
\r
* transfer beyond the regular PIMA command block parameters.
\r
\r
/** Sends arbitrary data to the attached device, for use in the data phase of PIMA commands which require data
\r
* transfer beyond the regular PIMA command block parameters.
\r
@@
-204,7
+205,7
@@
* \return A value from the \ref Pipe_Stream_RW_ErrorCodes_t enum
\r
*/
\r
uint8_t SImage_Host_SendData(USB_ClassInfo_SI_Host_t* const SIInterfaceInfo, void* Buffer,
\r
* \return A value from the \ref Pipe_Stream_RW_ErrorCodes_t enum
\r
*/
\r
uint8_t SImage_Host_SendData(USB_ClassInfo_SI_Host_t* const SIInterfaceInfo, void* Buffer,
\r
- const uint16_t Bytes) ATTR_NON_NULL_PTR_ARG(1
,
2);
\r
+ const uint16_t Bytes) ATTR_NON_NULL_PTR_ARG(1
) ATTR_NON_NULL_PTR_ARG(
2);
\r
\r
/** Receives arbitrary data from the attached device, for use in the data phase of PIMA commands which require data
\r
* transfer beyond the regular PIMA command block parameters.
\r
\r
/** Receives arbitrary data from the attached device, for use in the data phase of PIMA commands which require data
\r
* transfer beyond the regular PIMA command block parameters.
\r
@@
-216,7
+217,7
@@
* \return A value from the \ref Pipe_Stream_RW_ErrorCodes_t enum
\r
*/
\r
uint8_t SImage_Host_ReadData(USB_ClassInfo_SI_Host_t* const SIInterfaceInfo, void* Buffer,
\r
* \return A value from the \ref Pipe_Stream_RW_ErrorCodes_t enum
\r
*/
\r
uint8_t SImage_Host_ReadData(USB_ClassInfo_SI_Host_t* const SIInterfaceInfo, void* Buffer,
\r
- const uint16_t Bytes) ATTR_NON_NULL_PTR_ARG(1
,
2);
\r
+ const uint16_t Bytes) ATTR_NON_NULL_PTR_ARG(1
) ATTR_NON_NULL_PTR_ARG(
2);
\r
\r
/* Private Interface - For use in library only: */
\r
#if !defined(__DOXYGEN__)
\r
\r
/* Private Interface - For use in library only: */
\r
#if !defined(__DOXYGEN__)
\r
diff --git
a/LUFA/Drivers/USB/Class/MIDI.h
b/LUFA/Drivers/USB/Class/MIDI.h
index
300e0b2
..
d0f9eec
100644
(file)
--- a/
LUFA/Drivers/USB/Class/MIDI.h
+++ b/
LUFA/Drivers/USB/Class/MIDI.h
@@
-29,7
+29,7
@@
*/
\r
\r
/** \ingroup Group_USBClassDrivers
\r
*/
\r
\r
/** \ingroup Group_USBClassDrivers
\r
- * @defgroup Group_USBClassMIDI MIDI
Device
Class Driver - LUFA/Drivers/Class/MIDI.h
\r
+ * @defgroup Group_USBClassMIDI MIDI Class Driver - LUFA/Drivers/Class/MIDI.h
\r
*
\r
* \section Sec_Dependencies Module Source Dependencies
\r
* The following files must be built with any user project that uses this module:
\r
*
\r
* \section Sec_Dependencies Module Source Dependencies
\r
* The following files must be built with any user project that uses this module:
\r
diff --git
a/LUFA/Drivers/USB/Class/MassStorage.h
b/LUFA/Drivers/USB/Class/MassStorage.h
index
7da4573
..
87d5734
100644
(file)
--- a/
LUFA/Drivers/USB/Class/MassStorage.h
+++ b/
LUFA/Drivers/USB/Class/MassStorage.h
@@
-29,7
+29,7
@@
*/
\r
\r
/** \ingroup Group_USBClassDrivers
\r
*/
\r
\r
/** \ingroup Group_USBClassDrivers
\r
- * @defgroup Group_USBClassMS Mass Storage
Device
Class Driver - LUFA/Drivers/Class/MassStorage.h
\r
+ * @defgroup Group_USBClassMS Mass Storage Class Driver - LUFA/Drivers/Class/MassStorage.h
\r
*
\r
* \section Sec_Dependencies Module Source Dependencies
\r
* The following files must be built with any user project that uses this module:
\r
*
\r
* \section Sec_Dependencies Module Source Dependencies
\r
* The following files must be built with any user project that uses this module:
\r
diff --git
a/LUFA/Drivers/USB/Class/Printer.h
b/LUFA/Drivers/USB/Class/Printer.h
index
239e998
..
d0280c0
100644
(file)
--- a/
LUFA/Drivers/USB/Class/Printer.h
+++ b/
LUFA/Drivers/USB/Class/Printer.h
@@
-29,7
+29,7
@@
*/
\r
\r
/** \ingroup Group_USBClassDrivers
\r
*/
\r
\r
/** \ingroup Group_USBClassDrivers
\r
- * @defgroup Group_USBClassPrinter Printer
Device
Class Driver - LUFA/Drivers/Class/Printer.h
\r
+ * @defgroup Group_USBClassPrinter Printer Class Driver - LUFA/Drivers/Class/Printer.h
\r
*
\r
* \section Sec_Dependencies Module Source Dependencies
\r
* The following files must be built with any user project that uses this module:
\r
*
\r
* \section Sec_Dependencies Module Source Dependencies
\r
* The following files must be built with any user project that uses this module:
\r
diff --git
a/LUFA/Drivers/USB/Class/RNDIS.h
b/LUFA/Drivers/USB/Class/RNDIS.h
index
c4a3061
..
b438790
100644
(file)
--- a/
LUFA/Drivers/USB/Class/RNDIS.h
+++ b/
LUFA/Drivers/USB/Class/RNDIS.h
@@
-29,7
+29,7
@@
*/
\r
\r
/** \ingroup Group_USBClassDrivers
\r
*/
\r
\r
/** \ingroup Group_USBClassDrivers
\r
- * @defgroup Group_USBClassRNDIS RNDIS
Device
Class Driver - LUFA/Drivers/Class/RNDIS.h
\r
+ * @defgroup Group_USBClassRNDIS RNDIS Class Driver - LUFA/Drivers/Class/RNDIS.h
\r
*
\r
* \section Sec_Dependencies Module Source Dependencies
\r
* The following files must be built with any user project that uses this module:
\r
*
\r
* \section Sec_Dependencies Module Source Dependencies
\r
* The following files must be built with any user project that uses this module:
\r
diff --git
a/LUFA/Drivers/USB/Class/StillImage.h
b/LUFA/Drivers/USB/Class/StillImage.h
index
524bb9e
..
74c5daf
100644
(file)
--- a/
LUFA/Drivers/USB/Class/StillImage.h
+++ b/
LUFA/Drivers/USB/Class/StillImage.h
@@
-29,7
+29,7
@@
*/
\r
\r
/** \ingroup Group_USBClassDrivers
\r
*/
\r
\r
/** \ingroup Group_USBClassDrivers
\r
- * @defgroup Group_USBClassSI Still Image
Device
Class Driver - LUFA/Drivers/Class/StillImage.h
\r
+ * @defgroup Group_USBClassSI Still Image Class Driver - LUFA/Drivers/Class/StillImage.h
\r
*
\r
* \section Sec_Dependencies Module Source Dependencies
\r
* The following files must be built with any user project that uses this module:
\r
*
\r
* \section Sec_Dependencies Module Source Dependencies
\r
* The following files must be built with any user project that uses this module:
\r
diff --git
a/LUFA/Drivers/USB/HighLevel/ConfigDescriptor.h
b/LUFA/Drivers/USB/HighLevel/ConfigDescriptor.h
index
76039c7
..
3c51393
100644
(file)
--- a/
LUFA/Drivers/USB/HighLevel/ConfigDescriptor.h
+++ b/
LUFA/Drivers/USB/HighLevel/ConfigDescriptor.h
@@
-203,7
+203,7
@@
* \return A value from the \ref USB_Host_GetConfigDescriptor_ErrorCodes_t enum
\r
*/
\r
uint8_t USB_Host_GetDeviceConfigDescriptor(uint8_t ConfigNumber, uint16_t* const ConfigSizePtr, void* BufferPtr,
\r
* \return A value from the \ref USB_Host_GetConfigDescriptor_ErrorCodes_t enum
\r
*/
\r
uint8_t USB_Host_GetDeviceConfigDescriptor(uint8_t ConfigNumber, uint16_t* const ConfigSizePtr, void* BufferPtr,
\r
- uint16_t BufferSize) ATTR_NON_NULL_PTR_ARG(2
,
3);
\r
+ uint16_t BufferSize) ATTR_NON_NULL_PTR_ARG(2
) ATTR_NON_NULL_PTR_ARG(
3);
\r
\r
/** Skips to the next sub-descriptor inside the configuration descriptor of the specified type value.
\r
* The bytes remaining value is automatically decremented.
\r
\r
/** Skips to the next sub-descriptor inside the configuration descriptor of the specified type value.
\r
* The bytes remaining value is automatically decremented.
\r
@@
-215,7
+215,7
@@
void USB_GetNextDescriptorOfType(uint16_t* const BytesRem,
\r
void** const CurrConfigLoc,
\r
const uint8_t Type)
\r
void USB_GetNextDescriptorOfType(uint16_t* const BytesRem,
\r
void** const CurrConfigLoc,
\r
const uint8_t Type)
\r
- ATTR_NON_NULL_PTR_ARG(1
,
2);
\r
+ ATTR_NON_NULL_PTR_ARG(1
) ATTR_NON_NULL_PTR_ARG(
2);
\r
\r
/** Skips to the next sub-descriptor inside the configuration descriptor of the specified type value,
\r
* which must come before a descriptor of the second given type value. If the BeforeType type
\r
\r
/** Skips to the next sub-descriptor inside the configuration descriptor of the specified type value,
\r
* which must come before a descriptor of the second given type value. If the BeforeType type
\r
@@
-231,7
+231,7
@@
void** const CurrConfigLoc,
\r
const uint8_t Type,
\r
const uint8_t BeforeType)
\r
void** const CurrConfigLoc,
\r
const uint8_t Type,
\r
const uint8_t BeforeType)
\r
- ATTR_NON_NULL_PTR_ARG(1
,
2);
\r
+ ATTR_NON_NULL_PTR_ARG(1
) ATTR_NON_NULL_PTR_ARG(
2);
\r
\r
/** Skips to the next sub-descriptor inside the configuration descriptor of the specified type value,
\r
* which must come after a descriptor of the second given type value. The bytes remaining value is
\r
\r
/** Skips to the next sub-descriptor inside the configuration descriptor of the specified type value,
\r
* which must come after a descriptor of the second given type value. The bytes remaining value is
\r
@@
-246,7
+246,7
@@
void** const CurrConfigLoc,
\r
const uint8_t Type,
\r
const uint8_t AfterType)
\r
void** const CurrConfigLoc,
\r
const uint8_t Type,
\r
const uint8_t AfterType)
\r
- ATTR_NON_NULL_PTR_ARG(1
,
2);
\r
+ ATTR_NON_NULL_PTR_ARG(1
) ATTR_NON_NULL_PTR_ARG(
2);
\r
\r
/* Inline Functions: */
\r
/** Skips over the current sub-descriptor inside the configuration descriptor, so that the pointer then
\r
\r
/* Inline Functions: */
\r
/** Skips over the current sub-descriptor inside the configuration descriptor, so that the pointer then
\r
@@
-257,7
+257,7
@@
*/
\r
static inline void USB_GetNextDescriptor(uint16_t* const BytesRem,
\r
void** const CurrConfigLoc)
\r
*/
\r
static inline void USB_GetNextDescriptor(uint16_t* const BytesRem,
\r
void** const CurrConfigLoc)
\r
- ATTR_NON_NULL_PTR_ARG(1
, 2);
\r
+ ATTR_NON_NULL_PTR_ARG(1
) ATTR_NON_NULL_PTR_ARG(2);
\r
static inline void USB_GetNextDescriptor(uint16_t* const BytesRem,
\r
void** const CurrConfigLoc)
\r
{
\r
static inline void USB_GetNextDescriptor(uint16_t* const BytesRem,
\r
void** const CurrConfigLoc)
\r
{
\r