/* Set the CRC polynomial register of the specified SPI port.  */
void SPICRCPolSet(unsigned long ulBase, unsigned long ulCRCPol)
/* Set the CRC polynomial register of the specified SPI port.  */
void SPICRCPolSet(unsigned long ulBase, unsigned long ulCRCPol)
{
    xASSERT((ulBase == SPI3_BASE) || (ulBase == SPI1_BASE)||
            (ulBase == SPI2_BASE));
    xHWREG(ulBase + SPI_CRCPR) = ulCRCPol;
}