/* Get the level-trigger transmission status of the specified SPI port.  */
xtBoolean SPILevelTriggerStatusGet(unsigned long ulBase)
/* Get the level-trigger transmission status of the specified SPI port.  */
xtBoolean SPILevelTriggerStatusGet(unsigned long ulBase)
{
    xASSERT((ulBase == SPI0_BASE) || (ulBase == SPI1_BASE)||
            (ulBase == SPI2_BASE)||(ulBase == SPI3_BASE) );
    return ((xHWREG(ulBase + SPI_SSR) & SPI_LTRIG_FLAG) ? xtrue : xfalse);
}