Get the status of a device.
int32_t UsbGetDeviceStatus(
int32_t udev,
uint16_t *devsts
);
udev
devsts
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 |