uint8_t USBHostSetNAKTimeout( uint8_t deviceAddress, uint8_t endpoint, uint16_t flags, uint16_t timeoutCount );
This function is used to set whether or not an endpoint on a device should time out a transaction based on the number of NAKs received, and if so, how many NAKs are allowed before the timeout.
None
Return Values |
Description |
USB_SUCCESS |
NAK timeout was configured successfully. |
USB_UNKNOWN_DEVICE |
Device not found. |
USB_ENDPOINT_NOT_FOUND |
The specified endpoint was not found. |
None
MLA - USB Library Help Version : 2.16
![]() |