/* 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));
    xHWREG(ulBase + SPI_SR) &= ~ulIntFlags;
}