/* Returns the most recent received data by the SPIx peripheral.  */
uint16_t SPI_ReceiveData(SPI_TypeDef *SPIx)
/* Returns the most recent received data by the SPIx peripheral.  */
uint16_t SPI_ReceiveData(SPI_TypeDef *SPIx)
{
  assert_param(IS_SPI_ALL_PERIPH(SPIx));
  return SPIx->DR;
}