/* Clears the SPIx CRC Error (CRCERR) interrupt pending bit.  */
void SPI_ClearITPendingBit(SPI_TypeDef *SPIx, uint8_t SPI_IT)
/* Clears the SPIx CRC Error (CRCERR) interrupt pending bit.  */
void SPI_ClearITPendingBit(SPI_TypeDef *SPIx, uint8_t SPI_IT)
{
  uint16_t itpos = 0;
  assert_param(IS_SPI_ALL_PERIPH(SPIx));
  assert_param(IS_SPI_CLEAR_IT(SPI_IT));
  itpos = 0x01 << (SPI_IT & 0x0F);
  SPIx->SR = (uint16_t)~itpos;
}