📄 usbioerrorcodes.java
字号:
package de.thesycon.usbio;
public interface UsbIoErrorCodes {
//
// USBIO Error Codes
//
/**
* The operation has been successfully completed.
*/
public static final int USBIO_ERR_SUCCESS = 0x00000000;
/**
* A CRC error has been detected.
* This error is reported by the USB host controller driver.
*/
public static final int USBIO_ERR_CRC = 0xE0000001;
/**
* A bit stuffing error has been detected.
* This error is reported by the USB host controller driver.
*/
public static final int USBIO_ERR_BTSTUFF = 0xE0000002;
/**
* A DATA toggle mismatch (DATA0/DATA1 tokens) has been detected.
* This error is reported by the USB host controller driver.
*/
public static final int USBIO_ERR_DATA_TOGGLE_MISMATCH = 0xE0000003;
/**
* A STALL PID has been detected.
* This error is reported by the USB host controller driver.
*/
public static final int USBIO_ERR_STALL_PID = 0xE0000004;
/**
* The USB device is not responding.
* This error is reported by the USB host controller driver.
*/
public static final int USBIO_ERR_DEV_NOT_RESPONDING = 0xE0000005;
/**
* A PID check has failed.
* This error is reported by the USB host controller driver.
*/
public static final int USBIO_ERR_PID_CHECK_FAILURE = 0xE0000006;
/**
* An unexpected PID has been detected.
* This error is reported by the USB host controller driver.
*/
public static final int USBIO_ERR_UNEXPECTED_PID = 0xE0000007;
/**
* A data overrun error has been detected.
* This error is reported by the USB host controller driver.
*/
public static final int USBIO_ERR_DATA_OVERRUN = 0xE0000008;
/**
* A data underrun error has been detected.
* This error is reported by the USB host controller driver.
*/
public static final int USBIO_ERR_DATA_UNDERRUN = 0xE0000009;
/**
* This error code is reserved by the USB host controller driver.
*/
public static final int USBIO_ERR_RESERVED1 = 0xE000000A;
/**
* This error code is reserved by the USB host controller driver.
*/
public static final int USBIO_ERR_RESERVED2 = 0xE000000B;
/**
* A buffer overrun has been detected.
* This error is reported by the USB host controller driver.
*/
public static final int USBIO_ERR_BUFFER_OVERRUN = 0xE000000C;
/**
* A buffer underrun has been detected.
* This error is reported by the USB host controller driver.
*/
public static final int USBIO_ERR_BUFFER_UNDERRUN = 0xE000000D;
/**
* A data buffer was not accessed.
* This error is reported by the USB host controller driver.
* An isochronous data buffer was scheduled too late.
* The specified frame number does not match the actual frame number.
*/
public static final int USBIO_ERR_NOT_ACCESSED = 0xE000000F;
/**
* A FIFO error has been detected.
* This error is reported by the USB host controller driver.
* The PCI bus latency was too long.
*/
public static final int USBIO_ERR_FIFO = 0xE0000010;
/**
* A XACT error has been detected.
* This error is reported by the USB host controller driver.
*/
public static final int USBIO_ERR_XACT_ERROR = 0xE0000011;
/**
* A device is babbling.
* This error is reported by the USB host controller driver.
* The data transfer phase exceeds the USB frame length.
*/
public static final int USBIO_ERR_BABBLE_DETECTED = 0xE0000012;
/**
* A data buffer error has been detected.
* This error is reported by the USB host controller driver.
*/
public static final int USBIO_ERR_DATA_BUFFER_ERROR = 0xE0000013;
/**
* The endpoint has been halted by the USB bus driver USBD.
* This error is reported by the USB bus driver USBD.
* A pipe will be halted by USBD when a data transmission error (CRC, bit stuff, DATA toggle) occurs.
* In order to re-enable a halted pipe a IOCTL_USBIO_RESET_PIPE request has to be issued
* on that pipe.
*/
public static final int USBIO_ERR_ENDPOINT_HALTED = 0xE0000030;
/**
* A memory allocation attempt has failed.
* This error is reported by the USB bus driver USBD.
*/
public static final int USBIO_ERR_NO_MEMORY = 0xE0000100;
/**
* An invalid URB function code has been passed.
* This error is reported by the USB bus driver USBD.
*/
public static final int USBIO_ERR_INVALID_URB_FUNCTION = 0xE0000200;
/**
* An invalid parameter has been passed.
* This error is reported by the USB bus driver USBD.
*/
public static final int USBIO_ERR_INVALID_PARAMETER = 0xE0000300;
/**
* There are data transfer requests pending for the device.
* This error is reported by the USB bus driver USBD.
*/
public static final int USBIO_ERR_ERROR_BUSY = 0xE0000400;
/**
* A request has failed.
* This error is reported by the USB bus driver USBD.
*/
public static final int USBIO_ERR_REQUEST_FAILED = 0xE0000500;
/**
* An invalid pipe handle has been passed.
* This error is reported by the USB bus driver USBD.
*/
public static final int USBIO_ERR_INVALID_PIPE_HANDLE = 0xE0000600;
/**
* There is not enough bandwidth available.
* This error is reported by the USB bus driver USBD.
*/
public static final int USBIO_ERR_NO_BANDWIDTH = 0xE0000700;
/**
* An internal host controller error has been detected.
* This error is reported by the USB bus driver USBD.
*/
public static final int USBIO_ERR_INTERNAL_HC_ERROR = 0xE0000800;
/**
* A short transfer has been detected.
* This error is reported by the USB bus driver USBD.
* If the pipe is not configured accordingly a short packet sent by the device causes this error.
* Support for short packets has to be enabled explicitly.
*/
public static final int USBIO_ERR_ERROR_SHORT_TRANSFER = 0xE0000900;
/**
* A bad start frame has been specified.
* This error is reported by the USB bus driver USBD.
*/
public static final int USBIO_ERR_BAD_START_FRAME = 0xE0000A00;
/**
* An isochronous request has failed.
* This error is reported by the USB bus driver USBD.
*/
public static final int USBIO_ERR_ISOCH_REQUEST_FAILED = 0xE0000B00;
/**
* The USB frame control is currently owned.
* This error is reported by the USB bus driver USBD.
*/
public static final int USBIO_ERR_FRAME_CONTROL_OWNED = 0xE0000C00;
/**
* The USB frame control is currently not owned.
* This error is reported by the USB bus driver USBD.
*/
public static final int USBIO_ERR_FRAME_CONTROL_NOT_OWNED = 0xE0000D00;
/**
* The operation is not supported.
* This error is reported by the USB bus driver USBD.
*/
public static final int USBIO_ERR_NOT_SUPPORTED = 0xE0000E00;
/**
* An invalid configuration descriptor was reported by the device.
* This error is reported by the USB bus driver USBD.
*/
public static final int USBIO_ERR_INVALID_CONFIGURATION_DESCRIPTOR = 0xE0000F00;
/**
* There are not enough resources available to complete the operation.
* This error is reported by the USB bus driver USBD.
*/
public static final int USBIO_ERR_INSUFFICIENT_RESOURCES = 0xE8001000;
/**
* The set configuration request has failed.
* This error is reported by the USB bus driver USBD.
*/
public static final int USBIO_ERR_SET_CONFIG_FAILED = 0xE0002000;
/**
* The buffer is too small.
* This error is reported by the USB bus driver USBD.
*/
public static final int USBIO_ERR_USBD_BUFFER_TOO_SMALL = 0xE0003000;
/**
* The interface was not found.
* This error is reported by the USB bus driver USBD.
*/
public static final int USBIO_ERR_USBD_INTERFACE_NOT_FOUND = 0xE0004000;
/**
* Invalid pipe flags have been specified.
* This error is reported by the USB bus driver USBD.
*/
public static final int USBIO_ERR_INVALID_PIPE_FLAGS = 0xE0005000;
/**
* The operation has been timed out.
* This error is reported by the USB bus driver USBD.
*/
public static final int USBIO_ERR_USBD_TIMEOUT = 0xE0006000;
/**
* The USB device is gone.
* This error is reported by the USB bus driver USBD.
*/
public static final int USBIO_ERR_DEVICE_GONE = 0xE0007000;
/**
* This error is reported by the USB bus driver USBD.
*/
public static final int USBIO_ERR_STATUS_NOT_MAPPED = 0xE0008000;
/**
* The operation has been cancelled.
* This error is reported by the USB bus driver USBD.
* If the data transfer requests pending on a pipe are aborted by means
* of IOCTL_USBIO_ABORT_PIPE or CancelIo then the operations
* will be completed with this error code.
*/
public static final int USBIO_ERR_CANCELED = 0xE0010000;
/**
* The isochronous data buffer was not accessed by the USB host controller.
* This error is reported by the USB bus driver USBD.
* An isochronous data buffer was scheduled too late.
* The specified frame number does not match the actual frame number.
*/
public static final int USBIO_ERR_ISO_NOT_ACCESSED_BY_HW = 0xE0020000;
/**
* The USB host controller reported an error in a transfer descriptor.
* This error is reported by the USB bus driver USBD.
*/
public static final int USBIO_ERR_ISO_TD_ERROR = 0xE0030000;
/**
* An isochronous data packet was submitted in time but failed to reach the
* USB host controller in time.
* This error is reported by the USB bus driver USBD.
*/
public static final int USBIO_ERR_ISO_NA_LATE_USBPORT = 0xE0040000;
/**
* An isochronous data packet was submitted too late.
* This error is reported by the USB bus driver USBD.
*/
public static final int USBIO_ERR_ISO_NOT_ACCESSED_LATE = 0xE0050000;
/**
* The operation has failed.
* This error is reported by the USBIO driver.
*/
public static final int USBIO_ERR_FAILED = 0xE0001000;
/**
* An invalid input buffer has been passed to an IOCTL operation.
* This error is reported by the USBIO driver.
* Make sure the input buffer matches the type and size requirements
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -