INtime SDK Help
UsbClearStall
INtime SDK v6 > About INtime > Networking and I/O > USB > USB calls > UsbClearStall

Clear a stall or halt condition on a device.

int32_t UsbClearStall( 
int32_t udev,
uint32_t pipe
);

Parameters

udev
Device handle from UsbOpenDevice.
pipe
Value describing the device, endpoint number, type, and transfer direction.

Return Values

USB_ERR_NORMAL_COMPLETION Success. The operation was completed.
USB_ERR_NO_STACK The USB stack is not ready.
USB_ERR_MEMORY Memory could not be allocated for the operation.
USB_ERR_TIMEOUT The device did not respond.

Requirements

Versions Defined in Include Link to
INtime 5.0 intime/rt/include/usbif3.h usbif3.h usbif3.lib
See Also