return ReportReceived;\r
}\r
\r
-uint8_t USB_HID_Host_SetBootProtocol(USB_ClassInfo_HID_Host_t* const HIDInterfaceInfo)\r
+uint8_t HID_Host_SetBootProtocol(USB_ClassInfo_HID_Host_t* const HIDInterfaceInfo)\r
{\r
if (HIDInterfaceInfo->State.UsingBootProtocol)\r
return HOST_SENDCONTROL_Successful;\r
return HOST_SENDCONTROL_Successful;\r
}\r
\r
-uint8_t USB_HID_Host_SetReportProtocol(USB_ClassInfo_HID_Host_t* const HIDInterfaceInfo)\r
+uint8_t HID_Host_SetReportProtocol(USB_ClassInfo_HID_Host_t* const HIDInterfaceInfo)\r
{\r
uint8_t ErrorCode;\r
\r
uint16_t DataOUTPipeSize; /**< Size in bytes of the HID interface's OUT data pipe */\r
\r
bool SupportsBootProtocol; /**< Indicates if the current interface instance supports the HID Boot\r
- * Protocol when enabled via \ref USB_HID_Host_SetBootProtocol()\r
+ * Protocol when enabled via \ref HID_Host_SetBootProtocol()\r
*/\r
bool DeviceUsesOUTPipe; /**< Indicates if the current interface instance uses a seperate OUT data pipe for\r
* OUT reports, or if OUT reports are sent via the control pipe instead.\r
* machine is in the Addressed state.\r
*\r
* \note Once the device pipes are configured, the HID device's reporting protocol <b>must</b> be set via a call\r
- * to either the \ref USB_HID_Host_SetBootProtocol() or \ref USB_HID_Host_SetReportProtocol() function.\r
+ * to either the \ref HID_Host_SetBootProtocol() or \ref HID_Host_SetReportProtocol() function.\r
*\r
* \param[in,out] HIDInterfaceInfo Pointer to a structure containing a HID Class host configuration and state\r
* \param[in] ConfigDescriptorSize Length of the attached device's Configuration Descriptor\r
* \return \ref HID_ERROR_LOGICAL if the device does not support Boot Protocol mode, a value from the\r
* \ref USB_Host_SendControlErrorCodes_t enum otherwise\r
*/\r
- uint8_t USB_HID_Host_SetBootProtocol(USB_ClassInfo_HID_Host_t* const HIDInterfaceInfo) ATTR_NON_NULL_PTR_ARG(1);\r
+ uint8_t HID_Host_SetBootProtocol(USB_ClassInfo_HID_Host_t* const HIDInterfaceInfo) ATTR_NON_NULL_PTR_ARG(1);\r
\r
/** Switches the attached HID device's reporting protocol over to the standard Report protocol mode. This also retrieves\r
* and parses the device's HID report descriptor, so that the size of each report can be determined in advance.\r
* not have a valid \ref HID_ReportInfo_t structure set in its configuration, a mask of \ref HID_ERROR_LOGICAL\r
* and a value from the \ref HID_Parse_ErrorCodes_t otherwise\r
*/\r
- uint8_t USB_HID_Host_SetReportProtocol(USB_ClassInfo_HID_Host_t* const HIDInterfaceInfo) ATTR_NON_NULL_PTR_ARG(1);\r
+ uint8_t HID_Host_SetReportProtocol(USB_ClassInfo_HID_Host_t* const HIDInterfaceInfo) ATTR_NON_NULL_PTR_ARG(1);\r
\r
/* Private Interface - For use in library only: */\r
#if !defined(__DOXYGEN__)\r