Get the status of an endpoint.
int32_t UsbGetEndpointStatus(
int32_t udev,
uint8_t ep,
uint16_t *epsts
);
udev 
ep 
Value describing the endpoint number, and transfer direction. The endpoint value is the bEndpointAddress field from the usbEndpointDescriptor structure.
epsts 
| 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. | 
| Versions | Defined in | Include | Link to | 
|---|---|---|---|
| INtime 5.0 | intime/rt/include/usbif3.h | usbif3.h | usbif3.lib |