Jump to main content

##

# 2.54.19 HSMCI_ERROR_FLAGS Enum

## C

    typedef enum
    {
        //HSMCI command timeout error
        HSMCI_CMD_TIMEOUT_ERROR = 0x0001,
        //HSMCI command CRC error
        HSMCI_CMD_CRC_ERROR = 0x0002,
        //HSMCI command end-bit error
        HSMCI_CMD_END_BIT_ERROR = 0x0004,
        //HSMCI command index error
        HSMCI_CMD_INDEX_ERROR = 0x0008,
        //HSMCI data timeout error
        HSMCI_DATA_TIMEOUT_ERROR = 0x0010,
        //HSMCI data CRC error
        HSMCI_DATA_CRC_ERROR = 0x0020,
        //HSMCI data underrun error
        HSMCI_DATA_UNDERRUN_ERROR = 0x0040,
        //HSMCI data overrun error
        HSMCI_DATA_OVERRUN_ERROR = 0x0080,

    }HSMCI_ERROR_FLAGS;

## Summary

The enumeration lists the possible error types for a command and data transfer.

## Description

The enumeration is used to identify the error in command and data transfer. The application should use the enumerators in the enum-list to identify the error flags reported by the HSMCI_CommandErrorGet() and HSMCI_DataErrorGet() APIs.

## Remarks

None.