/* Clear the GO_BUSY bit to stop a SPI data transfer.  */
void SPIBitGoBusyClear(unsigned long ulBase)
/* Clear the GO_BUSY bit to stop a SPI data transfer.  */
void SPIBitGoBusyClear(unsigned long ulBase)
{
    xASSERT((ulBase == SPI0_BASE) || (ulBase == SPI1_BASE)||
            (ulBase == SPI2_BASE)||(ulBase == SPI3_BASE) );
    xHWREG(ulBase + SPI_CNTRL) &= ~SPI_CNTRL_GO_BUSY;
}