/* Returns 1 if the given MCI transfer is complete; otherwise returns 0.  */
unsigned char MCI_IsTxComplete(MciCmd *pCommand)
/* Returns 1 if the given MCI transfer is complete; otherwise returns 0.  */
unsigned char MCI_IsTxComplete(MciCmd *pCommand)
{
    if (pCommand->status != MCI_STATUS_PENDING) {
        if (pCommand->status != 0)
            printf("MCI_IsTxComplete %d\n\r", pCommand->status);
        return 1;
    }
    else {
        return 0;
    }
}