EasyManua.ls Logo

ST STM32F31xx

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...
UM1581
Serial peripheral interface (SPI)
DocID023800 Rev 1
423/584
SPI_I2S_IT_ERR : Error interrupt mask
NewState : new state of the specified SPI interrupt. This
parameter can be: ENABLE or DISABLE.
Return values
None.
Notes
None.
20.2.11.2 SPI_GetTransmissionFIFOStatus
Function Name
uint16_t SPI_GetTransmissionFIFOStatus ( SPI_TypeDef *
SPIx)
Function Description
Returns the current SPIx Transmission FIFO filled level.
Parameters
SPIx : where x can be 1, 2 or 3 to select the SPI peripheral.
Return values
The Transmission FIFO filling state.
SPI_TransmissionFIFOStatus_Empty: when FIFO is
empty
SPI_TransmissionFIFOStatus_1QuarterFull: if more
than 1 quarter-full.
SPI_TransmissionFIFOStatus_HalfFull: if more than
1 half-full.
SPI_TransmissionFIFOStatus_Full: when FIFO is full.
Notes
None.
20.2.11.3 SPI_GetReceptionFIFOStatus
Function Name
uint16_t SPI_GetReceptionFIFOStatus ( SPI_TypeDef * SPIx)
Function Description
Returns the current SPIx Reception FIFO filled level.
Parameters
SPIx : where x can be 1, 2 or 3 to select the SPI peripheral.
Return values
The Reception FIFO filling state.
SPI_ReceptionFIFOStatus_Empty: when FIFO is
empty
SPI_ReceptionFIFOStatus_1QuarterFull: if more than
1 quarter-full.
SPI_ReceptionFIFOStatus_HalfFull: if more than 1
half-full.
SPI_ReceptionFIFOStatus_Full: when FIFO is full.

Table of Contents

Related product manuals