/* Reset the Rx CRCR and Tx CRCR registers.  */
void SPI_ResetCRC(SPI_TypeDef *SPIx)
/* Reset the Rx CRCR and Tx CRCR registers.  */
void SPI_ResetCRC(SPI_TypeDef *SPIx)
{
  SPI_CalculateCRCCmd(SPIx, ENABLE);
  SPI_Cmd(SPIx, ENABLE);
}