/* SPI Set the NSS Pin as an Output. 
Normally used in master mode to allows the master to place all devices on the SPI bus into slave mode. Multimaster mode is not possible. */
void spi_enable_ss_output(uint32_t spi)
/* SPI Set the NSS Pin as an Output. 
Normally used in master mode to allows the master to place all devices on the SPI bus into slave mode. Multimaster mode is not possible. */
void spi_enable_ss_output(uint32_t spi)
{
	SPI_CR2(spi) |= SPI_CR2_SSOE;
}