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 #1143 background imageLoading...
Page #1143 background image
UM1940
LL SPI Generic Driver
DocID028236 Rev 2
1143/1371
TxData: Value between Min_Data=0x00 and
Max_Data=0xFF
Return values
None:
Reference Manual to
LL API cross
reference:
DR DR LL_SPI_TransmitData8
LL_SPI_TransmitData16
Function name
__STATIC_INLINE void LL_SPI_TransmitData16 (SPI_TypeDef
* SPIx, uint16_t TxData)
Function description
Write 16-Bits in the data register.
Parameters
SPIx: SPI Instance
TxData: Value between Min_Data=0x00 and
Max_Data=0xFFFF
Return values
None:
Reference Manual to
LL API cross
reference:
DR DR LL_SPI_TransmitData16
LL_SPI_DeInit
Function name
ErrorStatus LL_SPI_DeInit (SPI_TypeDef * SPIx)
Function description
De-initialize the SPI registers to their default reset values.
Parameters
SPIx: SPI Instance
Return values
An: ErrorStatus enumeration value:
SUCCESS: SPI registers are de-initialized
ERROR: SPI registers are not de-initialized
LL_SPI_Init
Function name
ErrorStatus LL_SPI_Init (SPI_TypeDef * SPIx,
LL_SPI_InitTypeDef * SPI_InitStruct)
Function description
Initialize the SPI registers according to the specified parameters in
SPI_InitStruct.
Parameters
SPIx: SPI Instance
SPI_InitStruct: pointer to a LL_SPI_InitTypeDef structure
Return values
An: ErrorStatus enumeration value. (Return always
SUCCESS)
Notes
As some bits in SPI configuration registers can only be written
when the SPI is disabled (SPI_CR1_SPE bit =0), SPI IP
should be in disabled state prior calling this function.
Otherwise, ERROR result will be returned.
LL_SPI_StructInit
Function name
void LL_SPI_StructInit (LL_SPI_InitTypeDef * SPI_InitStruct)

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