Ll_Spi_Getstandard; Ll_Spi_Setclockphase; Ll_Spi_Getclockphase - ST STM32F2 User Manual

Description of stm32f2 hal and low layer drivers
Hide thumbs Also See for STM32F2:
Table of Contents

Advertisement

LL SPI Generic Driver
reference:

LL_SPI_GetStandard

Function name
Function description
Parameters
Return values
Reference Manual to
LL API cross
reference:

LL_SPI_SetClockPhase

Function name
Function description
Parameters
Return values
Notes
Reference Manual to
LL API cross
reference:

LL_SPI_GetClockPhase

Function name
Function description
Parameters
Return values
Reference Manual to
LL API cross
reference:
1128/1371
__STATIC_INLINE uint32_t LL_SPI_GetStandard (SPI_TypeDef
* SPIx)
Get serial protocol used.
SPIx: SPI Instance
Returned: value can be one of the following values:
LL_SPI_PROTOCOL_MOTOROLA
LL_SPI_PROTOCOL_TI
CR2 FRF LL_SPI_GetStandard
__STATIC_INLINE void LL_SPI_SetClockPhase (SPI_TypeDef
* SPIx, uint32_t ClockPhase)
Set clock phase.
SPIx: SPI Instance
ClockPhase: This parameter can be one of the following
values:
LL_SPI_PHASE_1EDGE
LL_SPI_PHASE_2EDGE
None:
This bit should not be changed when communication is
ongoing. This bit is not used in SPI TI mode.
CR1 CPHA LL_SPI_SetClockPhase
__STATIC_INLINE uint32_t LL_SPI_GetClockPhase
(SPI_TypeDef * SPIx)
Get clock phase.
SPIx: SPI Instance
Returned: value can be one of the following values:
LL_SPI_PHASE_1EDGE
LL_SPI_PHASE_2EDGE
CR1 CPHA LL_SPI_GetClockPhase
DocID028236 Rev 2
UM1940

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Questions and answers

Table of Contents

Save PDF