typedef enum { VM_DCL_STATUS_OK = 0, VM_DCL_STATUS_FAIL = -1, VM_DCL_STATUS_INVALID_CMD = -2, VM_DCL_STATUS_UNSUPPORTED = -3, VM_DCL_STATUS_NOT_OPENED = -4, VM_DCL_STATUS_INVALID_EVENT = -5, VM_DCL_STATUS_INVALID_DCL_HANDLE = -6, VM_DCL_STATUS_INVALID_CONTROL_DATA = -7, VM_DCL_STATUS_INVALID_ARGUMENT = -9, VM_DCL_STATUS_ERROR_TIMEOUT = -10, VM_DCL_STATUS_ERROR_CRCERROR = -11, VM_DCL_STATUS_ERROR_READONLY = -12, VM_DCL_STATUS_ERROR_WRONG_STATE = -13, VM_DCL_STATUS_INVALID_DEVICE = -14, VM_DCL_STATUS_ALREADY_OPENED = -15, VM_DCL_STATUS_INVALID_OPERATION = -17, VM_DCL_STATUS_DEVICE_NOT_EXIST = -18, VM_DCL_STATUS_DEVICE_NOT_SUPPORT_DMA = -19, VM_DCL_STATUS_DEVICE_IS_BUSY = -20, VM_DCL_STATUS_ACKERR = -21, VM_DCL_STATUS_HS_NACKERR = -22, VM_DCL_STATUS_MAX = 0x7FFFFFFF } VM_DCL_STATUS;
typedef enum { VM_DCL_STATUS_OK = 0, VM_DCL_STATUS_FAIL = -1, VM_DCL_STATUS_INVALID_CMD = -2, VM_DCL_STATUS_UNSUPPORTED = -3, VM_DCL_STATUS_NOT_OPENED = -4, VM_DCL_STATUS_INVALID_EVENT = -5, VM_DCL_STATUS_INVALID_DCL_HANDLE = -6, VM_DCL_STATUS_INVALID_CONTROL_DATA = -7, VM_DCL_STATUS_INVALID_ARGUMENT = -9, VM_DCL_STATUS_ERROR_TIMEOUT = -10, VM_DCL_STATUS_ERROR_CRCERROR = -11, VM_DCL_STATUS_ERROR_READONLY = -12, VM_DCL_STATUS_ERROR_WRONG_STATE = -13, VM_DCL_STATUS_INVALID_DEVICE = -14, VM_DCL_STATUS_ALREADY_OPENED = -15, VM_DCL_STATUS_INVALID_OPERATION = -17, VM_DCL_STATUS_DEVICE_NOT_EXIST = -18, VM_DCL_STATUS_DEVICE_NOT_SUPPORT_DMA = -19, VM_DCL_STATUS_DEVICE_IS_BUSY = -20, VM_DCL_STATUS_ACKERR = -21, VM_DCL_STATUS_HS_NACKERR = -22, VM_DCL_STATUS_MAX = 0x7FFFFFFF } VM_DCL_STATUS;
VM_DCL_STATUS is the type used to represent the status the driver returns.
vmdcl.h
|
Members |
Description |
|
VM_DCL_STATUS_OK = 0 |
The operation succeeded. |
|
VM_DCL_STATUS_FAIL = -1 |
The operation failed. |
|
VM_DCL_STATUS_INVALID_CMD = -2 |
Invalid command sent to device. |
|
VM_DCL_STATUS_UNSUPPORTED = -3 |
The operation is not supported. |
|
VM_DCL_STATUS_NOT_OPENED = -4 |
The device is not opened. |
|
VM_DCL_STATUS_INVALID_EVENT = -5 |
Invalid event. |
|
VM_DCL_STATUS_INVALID_DCL_HANDLE = -6 |
Invalid device handle. |
|
VM_DCL_STATUS_INVALID_CONTROL_DATA = -7 |
Invalid control data. |
|
VM_DCL_STATUS_INVALID_ARGUMENT = -9 |
Invalid argument. |
|
VM_DCL_STATUS_ERROR_TIMEOUT = -10 |
The operation timed out. |
|
VM_DCL_STATUS_ERROR_CRCERROR = -11 |
CRC error. |
|
VM_DCL_STATUS_ERROR_READONLY = -12 |
The device is read only. |
|
VM_DCL_STATUS_ERROR_WRONG_STATE = -13 |
Incorrect state. |
|
VM_DCL_STATUS_INVALID_DEVICE = -14 |
Invalid device. |
|
VM_DCL_STATUS_ALREADY_OPENED = -15 |
The device is already opened. |
|
VM_DCL_STATUS_INVALID_OPERATION = -17 |
Invalid operation. |
|
VM_DCL_STATUS_DEVICE_NOT_EXIST = -18 |
The device does not exist. |
|
VM_DCL_STATUS_DEVICE_NOT_SUPPORT_DMA = -19 |
The device not support DMA |
|
VM_DCL_STATUS_DEVICE_IS_BUSY = -20 |
The device is busy. |
|
VM_DCL_STATUS_ACKERR = -21 |
I2C ACK error |
|
VM_DCL_STATUS_HS_NACKERR = -22 |
I2C HighSpeed NACK error |
|
VM_DCL_STATUS_MAX = 0x7FFFFFFF |
Forces the compiler to use 4-byte integer for enum. |
Doc-O-Matic. In order to make this message disappear you need to register this software. If you have problems registering this software please contact us at
support@toolsfactory.com.