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
421/584
Notes
None.
20.2.9.5 SPI_GetCRCPolynomial
Function Name
uint16_t SPI_GetCRCPolynomial ( SPI_TypeDef * SPIx)
Function Description
Returns the CRC Polynomial register value for the specified SPI.
Parameters
SPIx : where x can be 1, 2 or 3 to select the SPI peripheral.
Return values
The CRC Polynomial register value.
Notes
None.
20.2.10 DMA transfers management functions
20.2.10.1 SPI_I2S_DMACmd
Function Name
void SPI_I2S_DMACmd ( SPI_TypeDef * SPIx, uint16_t
SPI_I2S_DMAReq, FunctionalState NewState)
Function Description
Enables or disables the SPIx/I2Sx DMA interface.
Parameters
SPIx:To : select the SPIx/I2Sx peripheral, where x can be: 1,
2 or 3 in SPI mode or 2 or 3 in I2S mode or I2Sxext for I2S full
duplex mode.
SPI_I2S_DMAReq : specifies the SPI DMA transfer request
to be enabled or disabled. This parameter can be any
combination of the following values:
SPI_I2S_DMAReq_Tx : Tx buffer DMA transfer request
SPI_I2S_DMAReq_Rx : Rx buffer DMA transfer request
NewState : new state of the selected SPI DMA transfer
request. This parameter can be: ENABLE or DISABLE.
Return values
None.
Notes
None.

Table of Contents

Related product manuals