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 #413 background imageLoading...
Page #413 background image
UM1581
Serial peripheral interface (SPI)
DocID023800 Rev 1
413/584
configuration). But in case the prescaler value is greater than
511, the default value (0x02) will be configured instead.
20.2.7.6 SPI_Cmd
Function Name
void SPI_Cmd ( SPI_TypeDef * SPIx, FunctionalState
NewState)
Function Description
Enables or disables the specified SPI peripheral.
Parameters
ï‚· SPIx : where x can be 1, 2 or 3 to select the SPI peripheral.
ï‚· NewState : new state of the SPIx peripheral. This parameter
can be: ENABLE or DISABLE.
Return values
ï‚· None.
Notes
ï‚· None.
20.2.7.7 SPI_TIModeCmd
Function Name
void SPI_TIModeCmd ( SPI_TypeDef * SPIx, FunctionalState
NewState)
Function Description
Enables or disables the TI Mode.
Parameters
ï‚· SPIx : where x can be 1, 2 or 3 to select the SPI peripheral.
ï‚· NewState : new state of the selected SPI TI communication
mode. This parameter can be: ENABLE or DISABLE.
Return values
ï‚· None.
Notes
ï‚· This function can be called only after the SPI_Init() function
has been called.
ï‚· When TI mode is selected, the control bits SSM, SSI, CPOL
and CPHA are not taken into consideration and are
configured by hardware respectively to the TI mode
requirements.

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