ST STM32F31xx User Manual page 413

Table of Contents

Advertisement

UM1581
20.2.7.6
SPI_Cmd
Function Name
Function Description
Parameters
Return values
Notes
20.2.7.7
SPI_TIModeCmd
Function Name
Function Description
Parameters
Return values
Notes
configuration). But in case the prescaler value is greater than
511, the default value (0x02) will be configured instead.
void SPI_Cmd (
SPI_TypeDef *
NewState)
Enables or disables the specified SPI peripheral.
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.
None.
None.
void SPI_TIModeCmd (
NewState)
Enables or disables the TI Mode.
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.
None.
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.
DocID023800 Rev 1
Serial peripheral interface (SPI)
SPIx,
FunctionalState
SPI_TypeDef *
SPIx,
FunctionalState
413/584

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the STM32F31xx and is the answer not in the manual?

Subscribe to Our Youtube Channel

This manual is also suitable for:

Stm32f30xx

Table of Contents