/* Configure the MCI SDCBUS in the MCI_SDCR register. Only two modes available */
void MCI_SetBusWidth(Mci *pMci, unsigned char busWidth)
/* Configure the MCI SDCBUS in the MCI_SDCR register. Only two modes available */
void MCI_SetBusWidth(Mci *pMci, unsigned char busWidth)
{
    AT91S_MCI *pMciHw = pMci->pMciHw;
    unsigned int mciSdcr;
    SANITY_CHECK(pMci);
    SANITY_CHECK(pMci->pMciHw);
    mciSdcr = (READ_MCI(pMciHw, MCI_SDCR) & ~(AT91C_MCI_SCDBUS));
    WRITE_MCI(pMciHw, MCI_SDCR, mciSdcr | busWidth);
}