Fix issue in CDC device class driver where received data the size of the data endpoint could lock up the driver.
Further work on the new CDC and HID host mode class drivers. Reset changelog et. al. to reset development information for the new version currently under development.
This commit is contained in:
parent
a459f10b0c
commit
8711dc7ced
14 changed files with 168 additions and 11 deletions
|
@ -78,6 +78,8 @@
|
|||
*/
|
||||
struct
|
||||
{
|
||||
bool Active; /**< Indicates if the current interface instance is connected to an attached device */
|
||||
|
||||
uint16_t DataINPipeSize; /**< Size in bytes of the HID interface's IN data pipe */
|
||||
uint16_t DataOUTPipeSize; /**< Size in bytes of the HID interface's OUT data pipe */
|
||||
} State; /**< State data for the USB class interface within the device. All elements in this section
|
||||
|
@ -99,6 +101,8 @@
|
|||
void HID_Host_USBTask(USB_ClassInfo_HID_Host_t* HIDInterfaceInfo);
|
||||
uint8_t HID_Host_ConfigurePipes(USB_ClassInfo_HID_Host_t* HIDInterfaceInfo, uint16_t ConfigDescriptorLength,
|
||||
uint8_t* DeviceConfigDescriptor);
|
||||
|
||||
void HID_Host_IsReportReceived(USB_ClassInfo_HID_Host_t* HIDInterfaceInfo);
|
||||
|
||||
/* Private Interface - For use in library only: */
|
||||
#if !defined(__DOXYGEN__)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue