Jump to main content

##

# 2.54.25 HSMCI_CMD_ERROR Macro

## C

    #define HSMCI_CMD_ERROR (HSMCI_SR_RTOE_Msk | HSMCI_SR_RENDE_Msk | HSMCI_SR_RDIRE_Msk | HSMCI_SR_RINDE_Msk | HSMCI_SR_RCRCE_Msk)

## Summary

The macro is a bit wise OR of all the possible errors corresponding to a command transfer.

## Description

This macro is a bit wise OR of all the possible errors corresponding to a command transfer. This may be used by the application to test if the command transfer completed with or without errors by ANDing this macro with the return value of the HSMCI_CommandErrorGet() function.

## Remarks

None.