/* SPI Set Receive Only Mode for Simplex (2-wire) Unidirectional Transfers.  */
void spi_set_receive_only_mode(uint32_t spi)
/* SPI Set Receive Only Mode for Simplex (2-wire) Unidirectional Transfers.  */
void spi_set_receive_only_mode(uint32_t spi)
{
	SPI_CR1(spi) |= SPI_CR1_RXONLY;
}