/* SPI Disable Slave Management by Hardware. 
In slave mode the NSS hardware input is used as a select enable for the slave. */
void spi_disable_software_slave_management(uint32_t spi)
/* SPI Disable Slave Management by Hardware. 
In slave mode the NSS hardware input is used as a select enable for the slave. */
void spi_disable_software_slave_management(uint32_t spi)
{
	SPI_CR1(spi) &= ~SPI_CR1_SSM;
}