/* Clear the SPI interrupt flag of the specified SPI port.  */
void SPIIntFlagClear(unsigned long ulBase, unsigned long ulIntFlags)
/* Clear the SPI interrupt flag of the specified SPI port.  */
void SPIIntFlagClear(unsigned long ulBase, unsigned long ulIntFlags)
{
    xASSERT((ulBase == SPI0_BASE) || (ulBase == SPI1_BASE)||
            (ulBase == SPI2_BASE)||(ulBase == SPI3_BASE) );
    xHWREG(ulBase + SPI_STATUS) |= ulIntFlags;
}