diff options
author | Dean Camera <dean@fourwalledcubicle.com> | 2009-04-17 08:33:53 +0000 |
---|---|---|
committer | Dean Camera <dean@fourwalledcubicle.com> | 2009-04-17 08:33:53 +0000 |
commit | 32e735b2b2eefb74e0415a5826692f7ba8c0a984 (patch) | |
tree | 09bb85a81dfe3c2e5e2137b2ad1b2547063aee58 /LUFA/Drivers/USB/Class/HIDParser.h | |
parent | d38fa49cb6cb3804c9bb17601688a62ba466b535 (diff) | |
download | lufa-32e735b2b2eefb74e0415a5826692f7ba8c0a984.tar.gz lufa-32e735b2b2eefb74e0415a5826692f7ba8c0a984.tar.bz2 lufa-32e735b2b2eefb74e0415a5826692f7ba8c0a984.zip |
Removed "Host_" section of the function names in ConfigDescriptor.h, as most of the routines can now be used in device mode on the device descriptor.
Renamed functions in the HID parser to have a "USB_" prefix and the acronym "HID" in the name.
Further module-level documentation updates.
Diffstat (limited to 'LUFA/Drivers/USB/Class/HIDParser.h')
-rw-r--r-- | LUFA/Drivers/USB/Class/HIDParser.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/LUFA/Drivers/USB/Class/HIDParser.h b/LUFA/Drivers/USB/Class/HIDParser.h index 4d9f9db7a..f02f1fd09 100644 --- a/LUFA/Drivers/USB/Class/HIDParser.h +++ b/LUFA/Drivers/USB/Class/HIDParser.h @@ -215,8 +215,8 @@ *
* \return A value in the HID_Parse_ErrorCodes_t enum
*/
- uint8_t ProcessHIDReport(const uint8_t* ReportData, uint16_t ReportSize, HID_ReportInfo_t* const ParserData)
- ATTR_NON_NULL_PTR_ARG(1, 3);
+ uint8_t USB_ProcessHIDReport(const uint8_t* ReportData, uint16_t ReportSize, HID_ReportInfo_t* const ParserData)
+ ATTR_NON_NULL_PTR_ARG(1, 3);
/** Extracts the given report item's value out of the given HID report and places it into the Value
* member of the report item's HID_ReportItem_t structure.
@@ -226,8 +226,8 @@ *
* \returns Boolean true if the item to retrieve was located in the given report, false otherwise
*/
- bool GetReportItemInfo(const uint8_t* ReportData, HID_ReportItem_t* const ReportItem)
- ATTR_NON_NULL_PTR_ARG(1, 2);
+ bool USB_GetHIDReportItemInfo(const uint8_t* ReportData, HID_ReportItem_t* const ReportItem)
+ ATTR_NON_NULL_PTR_ARG(1, 2);
/** Retrieves the given report item's value out of the Value member of the report item's
* HID_ReportItem_t structure and places it into the correct position in the HID report
@@ -239,8 +239,8 @@ * \param ReportData Buffer holding the current OUT report data
* \param ReportItem Pointer to the report item of interest in a HID_ReportInfo_t ReportItem array
*/
- void SetReportItemInfo(uint8_t* ReportData, const HID_ReportItem_t* ReportItem)
- ATTR_NON_NULL_PTR_ARG(1, 2);
+ void USB_SetHIDReportItemInfo(uint8_t* ReportData, const HID_ReportItem_t* ReportItem)
+ ATTR_NON_NULL_PTR_ARG(1, 2);
/* Private Interface - For use in library only: */
#if !defined(__DOXYGEN__)
|