Serial peripheral interface (SPI)
20.2.7.12 SPI_NSSInternalSoftwareConfig
void SPI_NSSInternalSoftwareConfig ( SPI_TypeDef * SPIx,
uint16_t SPI_NSSInternalSoft)
Configures internally by software the NSS pin for the selected
SPI.
ï‚· SPIx : where x can be 1, 2 or 3 to select the SPI peripheral.
ï‚· SPI_NSSInternalSoft : specifies the SPI NSS internal state.
This parameter can be one of the following values:
ï€ SPI_NSSInternalSoft_Set : Set NSS pin internally
ï€ SPI_NSSInternalSoft_Reset : Reset NSS pin internally
ï‚· This function can be called only after the SPI_Init() function
has been called.
20.2.7.13 I2S_FullDuplexConfig
void I2S_FullDuplexConfig ( SPI_TypeDef * I2Sxext,
I2S_InitTypeDef * I2S_InitStruct)
Configures the full duplex mode for the I2Sx peripheral using its
extension I2Sxext according to the specified parameters in the
I2S_InitStruct.
ï‚· I2Sxext : where x can be 2 or 3 to select the I2S peripheral
extension block.
ï‚· I2S_InitStruct : pointer to an I2S_InitTypeDef structure that
contains the configuration information for the specified I2S
peripheral extension.
ï‚· The structure pointed by I2S_InitStruct parameter should be
the same used for the master I2S peripheral. In this case, if
the master is configured as transmitter, the slave will be
receiver and vice versa. Or you can force a different mode by
modifying the field I2S_Mode to the value I2S_SlaveRx or
I2S_SlaveTx indepedently of the master configuration.
ï‚· The I2S full duplex extension can be configured in slave
mode only.