ADM-XRC SDK 2.8.1 User Guide (Linux)
© Copyright 2001-2009 Alpha Data


ADMXRC_STATUS

Declaration

typedef enum
{
    ADMXRC_SUCCESS             = 0,      /* No error */
    ADMXRC_INTERNAL_ERROR      = 0x1000, /* An error in the API logic occurred */
    ADMXRC_NO_MEMORY,                    /* Couldn't allocate memory required to
                                            complete operation */
    ADMXRC_CARD_NOT_FOUND,               /* Failed to open the card with specified
                                            CardID */
    ADMXRC_FILE_NOT_FOUND,               /* Failed to open bitstream file */
    ADMXRC_INVALID_FILE,                 /* The bitstream file appears to be corrupt */
    ADMXRC_FPGA_MISMATCH,                /* The bitstream file does not match the FPGA
                                            on the card */
    ADMXRC_INVALID_HANDLE,               /* The handle to the card passed was invalid */
    ADMXRC_TIMEOUT,                      /* The operation was not completed within the
                                            timeout period */
    ADMXRC_CARD_BUSY,                    /* Card could not be opened because it was
                                            already open */
    ADMXRC_INVALID_PARAMETER,            /* An invalid parameter was supplied to the
                                            call */
    ADMXRC_CLOSED,                       /* The card was closed before the operation was
                                            completed */
    ADMXRC_CARD_ERROR,                   /* A hardware error occurred on the card */
    ADMXRC_NOT_SUPPORTED,                /* An operation was requested which is not
                                            supported or implemented */
    ADMXRC_DEVICE_BUSY,                  /* The requested device or resource was in
                                            use */
    ADMXRC_INVALID_DMADESC,              /* The DMA descriptor passed was invalid */
    ADMXRC_NO_DMADESC,                   /* No free DMA descriptors left */
    ADMXRC_FAILED,                       /* The operation failed */
    ADMXRC_PENDING,                      /* The operation is still in progress */
    ADMXRC_UNKNOWN_ERROR,                /* The operation failed for reasons unknown */
    ADMXRC_NULL_POINTER,                 /* A null pointer was supplied in the call */
    ADMXRC_CANCELLED,                    /* The operation was cancelled because
                                            requesting thread terminated */
    ADMXRC_BAD_DRIVER,                   /* The driver revision level is too low */
} ADMXRC_STATUS;

Description

A variable of the enumerated type ADMXRC_STATUS holds a code indicating the success or failure of a call to an ADM-XRC API function.

 


 Top of page