/* SPI Next Transmit is a CRC Word. 
The next transmission to take place is a crc word from the hardware crc unit. This must be called before transmission to distinguish between sending of a data or CRC word. */
void spi_set_next_tx_from_crc(uint32_t spi)
/* SPI Next Transmit is a CRC Word. 
The next transmission to take place is a crc word from the hardware crc unit. This must be called before transmission to distinguish between sending of a data or CRC word. */
void spi_set_next_tx_from_crc(uint32_t spi)
{
	SPI_CR1(spi) |= SPI_CR1_CRCNEXT;
}