UM1940
reference:
LL_SPI_SetMode
Function name
Function description
Parameters
Return values
Notes
Reference Manual to
LL API cross
reference:
LL_SPI_GetMode
Function name
Function description
Parameters
Return values
Reference Manual to
LL API cross
reference:
LL_SPI_SetStandard
Function name
Function description
Parameters
Return values
Notes
Reference Manual to
LL API cross
__STATIC_INLINE void LL_SPI_SetMode (SPI_TypeDef * SPIx,
uint32_t Mode)
Set SPI operation mode to Master or Slave.
SPIx: SPI Instance
Mode: This parameter can be one of the following values:
LL_SPI_MODE_MASTER
LL_SPI_MODE_SLAVE
None:
This bit should not be changed when communication is
ongoing.
CR1 MSTR LL_SPI_SetMode
CR1 SSI LL_SPI_SetMode
__STATIC_INLINE uint32_t LL_SPI_GetMode (SPI_TypeDef *
SPIx)
Get SPI operation mode (Master or Slave)
SPIx: SPI Instance
Returned: value can be one of the following values:
LL_SPI_MODE_MASTER
LL_SPI_MODE_SLAVE
CR1 MSTR LL_SPI_GetMode
CR1 SSI LL_SPI_GetMode
__STATIC_INLINE void LL_SPI_SetStandard (SPI_TypeDef *
SPIx, uint32_t Standard)
Set serial protocol used.
SPIx: SPI Instance
Standard: This parameter can be one of the following
values:
LL_SPI_PROTOCOL_MOTOROLA
LL_SPI_PROTOCOL_TI
None:
This bit should be written only when SPI is disabled (SPE = 0)
for correct operation.
CR2 FRF LL_SPI_SetStandard
DocID028236 Rev 2
LL SPI Generic Driver
1127/1371
Need help?
Do you have a question about the STM32F2 and is the answer not in the manual?
Questions and answers