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

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