EasyManua.ls Logo

ST STM32F31xx - Page 415

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
UM1581
Serial peripheral interface (SPI)
DocID023800 Rev 1
415/584
20.2.7.10 SPI_RxFIFOThresholdConfig
Function Name
void SPI_RxFIFOThresholdConfig ( SPI_TypeDef * SPIx,
uint16_t SPI_RxFIFOThreshold)
Function Description
Configures the FIFO reception threshold for the selected SPI.
Parameters
SPIx : where x can be 1, 2 or 3 to select the SPI peripheral.
SPI_RxFIFOThreshold : specifies the FIFO reception
threshold. This parameter can be one of the following values:
SPI_RxFIFOThreshold_HF : RXNE event is generated
if the FIFO level is greater or equal to 1/2.
SPI_RxFIFOThreshold_QF : RXNE event is generated
if the FIFO level is greater or equal to 1/4.
Return values
None.
Notes
None.
20.2.7.11 SPI_BiDirectionalLineConfig
Function Name
void SPI_BiDirectionalLineConfig ( SPI_TypeDef * SPIx,
uint16_t SPI_Direction)
Function Description
Selects the data transfer direction in bidirectional mode for the
specified SPI.
Parameters
SPIx : where x can be 1, 2 or 3 to select the SPI peripheral.
SPI_Direction : specifies the data transfer direction in
bidirectional mode. This parameter can be one of the
following values:
SPI_Direction_Tx : Selects Tx transmission direction
SPI_Direction_Rx : Selects Rx receive direction
Return values
None.
Notes
None.

Table of Contents

Related product manuals