/* Disable the SPI interrupt of the specified SPI port. 
This function is to disable the SPI interrupt of the specified SPI port */
void SPIIntDisable(unsigned long ulBase, unsigned long ulIntFlags)
/* Disable the SPI interrupt of the specified SPI port. 
This function is to disable the SPI interrupt of the specified SPI port */
void SPIIntDisable(unsigned long ulBase, unsigned long ulIntFlags)
{
    xASSERT((ulBase == SPI3_BASE) || (ulBase == SPI1_BASE)||
            (ulBase == SPI2_BASE));
    xHWREG(ulBase + SPI_CR2) &= ~ulIntFlags;
}