TUKS MCU Introductory course / TUKS-COURSE-THERMOMETER

Fork of TUKS-COURSE-TIMER by TUKS MCU Introductory course

Embed: (wiki syntax)

« Back to documentation index

DATA Management

DATA Management
[SPI Exported Functions]

Functions

__STATIC_INLINE uint8_t LL_SPI_ReceiveData8 (SPI_TypeDef *SPIx)
 Read 8-Bits in the data register DR DR LL_SPI_ReceiveData8.
__STATIC_INLINE uint16_t LL_SPI_ReceiveData16 (SPI_TypeDef *SPIx)
 Read 16-Bits in the data register DR DR LL_SPI_ReceiveData16.
__STATIC_INLINE void LL_SPI_TransmitData8 (SPI_TypeDef *SPIx, uint8_t TxData)
 Write 8-Bits in the data register DR DR LL_SPI_TransmitData8.
__STATIC_INLINE void LL_SPI_TransmitData16 (SPI_TypeDef *SPIx, uint16_t TxData)
 Write 16-Bits in the data register DR DR LL_SPI_TransmitData16.

Function Documentation

__STATIC_INLINE uint16_t LL_SPI_ReceiveData16 ( SPI_TypeDef *  SPIx )

Read 16-Bits in the data register DR DR LL_SPI_ReceiveData16.

Parameters:
SPIxSPI Instance
Return values:
RxDataValue between Min_Data=0x00 and Max_Data=0xFFFF

Definition at line 1365 of file stm32l4xx_ll_spi.h.

__STATIC_INLINE uint8_t LL_SPI_ReceiveData8 ( SPI_TypeDef *  SPIx )

Read 8-Bits in the data register DR DR LL_SPI_ReceiveData8.

Parameters:
SPIxSPI Instance
Return values:
RxDataValue between Min_Data=0x00 and Max_Data=0xFF

Definition at line 1354 of file stm32l4xx_ll_spi.h.

__STATIC_INLINE void LL_SPI_TransmitData16 ( SPI_TypeDef *  SPIx,
uint16_t  TxData 
)

Write 16-Bits in the data register DR DR LL_SPI_TransmitData16.

Parameters:
SPIxSPI Instance
TxDataValue between Min_Data=0x00 and Max_Data=0xFFFF
Return values:
None

Definition at line 1389 of file stm32l4xx_ll_spi.h.

__STATIC_INLINE void LL_SPI_TransmitData8 ( SPI_TypeDef *  SPIx,
uint8_t  TxData 
)

Write 8-Bits in the data register DR DR LL_SPI_TransmitData8.

Parameters:
SPIxSPI Instance
TxDataValue between Min_Data=0x00 and Max_Data=0xFF
Return values:
None

Definition at line 1377 of file stm32l4xx_ll_spi.h.