EasyManuals Logo

ST STM32F2 User Manual

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

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

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

ST STM32F2 Specifications

General IconGeneral
BrandST
ModelSTM32F2
CategoryMicrocontrollers
LanguageEnglish

Related product manuals