EasyManua.ls Logo

ST STM32F31xx - Page 416

ST STM32F31xx
584 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Serial peripheral interface (SPI)
UM1581
416/584
DocID023800 Rev 1
20.2.7.12 SPI_NSSInternalSoftwareConfig
Function Name
void SPI_NSSInternalSoftwareConfig ( SPI_TypeDef * SPIx,
uint16_t SPI_NSSInternalSoft)
Function Description
Configures internally by software the NSS pin for the selected
SPI.
Parameters
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
Return values
None.
Notes
This function can be called only after the SPI_Init() function
has been called.
20.2.7.13 I2S_FullDuplexConfig
Function Name
void I2S_FullDuplexConfig ( SPI_TypeDef * I2Sxext,
I2S_InitTypeDef * I2S_InitStruct)
Function Description
Configures the full duplex mode for the I2Sx peripheral using its
extension I2Sxext according to the specified parameters in the
I2S_InitStruct.
Parameters
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.
Return values
None.
Notes
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.

Table of Contents

Related product manuals