Ll_Spi_Getdatawidth; Ll_Spi_Enablecrc; Ll_Spi_Disablecrc - 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
Parameters
Return values
Reference Manual to
LL API cross
reference:

LL_SPI_GetDataWidth

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

LL_SPI_EnableCRC

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

LL_SPI_DisableCRC

Function name
Function description
Parameters
Return values
Notes
1132/1371
SPIx: SPI Instance
DataWidth: This parameter can be one of the following
values:
LL_SPI_DATAWIDTH_8BIT
LL_SPI_DATAWIDTH_16BIT
None:
CR1 DFF LL_SPI_SetDataWidth
__STATIC_INLINE uint32_t LL_SPI_GetDataWidth
(SPI_TypeDef * SPIx)
Get frame data width.
SPIx: SPI Instance
Returned: value can be one of the following values:
LL_SPI_DATAWIDTH_8BIT
LL_SPI_DATAWIDTH_16BIT
CR1 DFF LL_SPI_GetDataWidth
__STATIC_INLINE void LL_SPI_EnableCRC (SPI_TypeDef *
SPIx)
Enable CRC.
SPIx: SPI Instance
None:
This bit should be written only when SPI is disabled (SPE = 0)
for correct operation.
CR1 CRCEN LL_SPI_EnableCRC
__STATIC_INLINE void LL_SPI_DisableCRC (SPI_TypeDef *
SPIx)
Disable CRC.
SPIx: SPI Instance
None:
This bit should be written only when SPI is disabled (SPE = 0)
for correct operation.
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

Subscribe to Our Youtube Channel

Table of Contents

Save PDF