bool SupportsBootProtocol; /**< Indicates if the current interface instance supports the HID Boot\r
* Protocol when enabled via \ref HID_Host_SetBootProtocol()\r
*/\r
bool SupportsBootProtocol; /**< Indicates if the current interface instance supports the HID Boot\r
* Protocol when enabled via \ref HID_Host_SetBootProtocol()\r
*/\r
uint16_t HIDReportSize; /**< Size in bytes of the HID report descriptor in the device */\r
\r
uint8_t LargestReportSize; /**< Largest report the device will send, in bytes */\r
uint16_t HIDReportSize; /**< Size in bytes of the HID report descriptor in the device */\r
\r
uint8_t LargestReportSize; /**< Largest report the device will send, in bytes */\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
* \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
*\r
* \param[in,out] HIDInterfaceInfo Pointer to a structure containing a HID Class host configuration and state\r
* \param[in] Buffer Buffer to store the received report into\r
*\r
* \return An error code from the \ref Pipe_Stream_RW_ErrorCodes_t enum\r
*/\r
*\r
* \param[in,out] HIDInterfaceInfo Pointer to a structure containing a HID Class host configuration and state\r
* \param[in] Buffer Buffer to store the received report into\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
* \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
#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