/* Gets the number of bits transferred per frame.  */
unsigned char SPIBitLengthGet(unsigned long ulBase)
/* Gets the number of bits transferred per frame.  */
unsigned char SPIBitLengthGet(unsigned long ulBase)
{
    xASSERT((ulBase == SPI0_BASE) || (ulBase == SPI1_BASE));
    return (xHWREG(ulBase + SPI_CNTRL1) & SPI_CNTRL1_DFL_M);
}