EasyManuals Logo

ST STM32F31xx User Manual

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
Page #416 background imageLoading...
Page #416 background image
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

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the ST STM32F31xx and is the answer not in the manual?

ST STM32F31xx Specifications

General IconGeneral
BrandST
ModelSTM32F31xx
CategoryMicrocontrollers
LanguageEnglish

Related product manuals