Serial peripheral interface (SPI)
20.2.7.10 SPI_RxFIFOThresholdConfig
void SPI_RxFIFOThresholdConfig ( SPI_TypeDef * SPIx,
uint16_t SPI_RxFIFOThreshold)
Configures the FIFO reception threshold for the selected SPI.
ï‚· 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.
20.2.7.11 SPI_BiDirectionalLineConfig
void SPI_BiDirectionalLineConfig ( SPI_TypeDef * SPIx,
uint16_t SPI_Direction)
Selects the data transfer direction in bidirectional mode for the
specified SPI.
ï‚· 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