/* SPI Set the Software NSS Signal High. 
In slave mode, and only when software slave management is used, this replaces the NSS signal with a slave select enable signal. */
void spi_set_nss_high(uint32_t spi)
/* SPI Set the Software NSS Signal High. 
In slave mode, and only when software slave management is used, this replaces the NSS signal with a slave select enable signal. */
void spi_set_nss_high(uint32_t spi)
{
	SPI_CR1(spi) |= SPI_CR1_SSI;
}