LL SPI Generic Driver
Return values
Reference Manual to
LL API cross
reference:
LL_SPI_DMA_GetRegAddr
Function name
Function description
Parameters
Return values
Reference Manual to
LL API cross
reference:
LL_SPI_ReceiveData8
Function name
Function description
Parameters
Return values
Reference Manual to
LL API cross
reference:
LL_SPI_ReceiveData16
Function name
Function description
Parameters
Return values
Reference Manual to
LL API cross
reference:
LL_SPI_TransmitData8
Function name
Function description
Parameters
1142/1371
State: of bit (1 or 0).
CR2 TXDMAEN LL_SPI_IsEnabledDMAReq_TX
__STATIC_INLINE uint32_t LL_SPI_DMA_GetRegAddr
(SPI_TypeDef * SPIx)
Get the data register address used for DMA transfer.
SPIx: SPI Instance
Address: of data register
DR DR LL_SPI_DMA_GetRegAddr
__STATIC_INLINE uint8_t LL_SPI_ReceiveData8 (SPI_TypeDef
* SPIx)
Read 8-Bits in the data register.
SPIx: SPI Instance
RxData: Value between Min_Data=0x00 and
Max_Data=0xFF
DR DR LL_SPI_ReceiveData8
__STATIC_INLINE uint16_t LL_SPI_ReceiveData16
(SPI_TypeDef * SPIx)
Read 16-Bits in the data register.
SPIx: SPI Instance
RxData: Value between Min_Data=0x00 and
Max_Data=0xFFFF
DR DR LL_SPI_ReceiveData16
__STATIC_INLINE void LL_SPI_TransmitData8 (SPI_TypeDef *
SPIx, uint8_t TxData)
Write 8-Bits in the data register.
SPIx: SPI Instance
DocID028236 Rev 2
UM1940
Need help?
Do you have a question about the STM32F2 and is the answer not in the manual?
Questions and answers