Functions |
| __STATIC_INLINE void | LL_SPI_Enable (SPI_TypeDef *SPIx) |
| | Enable SPI peripheral.
|
| __STATIC_INLINE void | LL_SPI_Disable (SPI_TypeDef *SPIx) |
| | Disable SPI peripheral.
|
| __STATIC_INLINE uint32_t | LL_SPI_IsEnabled (const SPI_TypeDef *SPIx) |
| | Check if SPI peripheral is enabled.
|
| __STATIC_INLINE void | LL_SPI_SetMode (SPI_TypeDef *SPIx, uint32_t Mode) |
| | Set SPI operation mode to Master or Slave.
|
| __STATIC_INLINE uint32_t | LL_SPI_GetMode (const SPI_TypeDef *SPIx) |
| | Get SPI operation mode (Master or Slave)
|
| __STATIC_INLINE void | LL_SPI_SetStandard (SPI_TypeDef *SPIx, uint32_t Standard) |
| | Set serial protocol used.
|
| __STATIC_INLINE uint32_t | LL_SPI_GetStandard (const SPI_TypeDef *SPIx) |
| | Get serial protocol used.
|
| __STATIC_INLINE void | LL_SPI_SetClockPhase (SPI_TypeDef *SPIx, uint32_t ClockPhase) |
| | Set clock phase.
|
| __STATIC_INLINE uint32_t | LL_SPI_GetClockPhase (const SPI_TypeDef *SPIx) |
| | Get clock phase.
|
| __STATIC_INLINE void | LL_SPI_SetClockPolarity (SPI_TypeDef *SPIx, uint32_t ClockPolarity) |
| | Set clock polarity.
|
| __STATIC_INLINE uint32_t | LL_SPI_GetClockPolarity (const SPI_TypeDef *SPIx) |
| | Get clock polarity.
|
| __STATIC_INLINE void | LL_SPI_SetBaudRatePrescaler (SPI_TypeDef *SPIx, uint32_t BaudRate) |
| | Set baud rate prescaler.
|
| __STATIC_INLINE uint32_t | LL_SPI_GetBaudRatePrescaler (const SPI_TypeDef *SPIx) |
| | Get baud rate prescaler.
|
| __STATIC_INLINE void | LL_SPI_SetTransferBitOrder (SPI_TypeDef *SPIx, uint32_t BitOrder) |
| | Set transfer bit order.
|
| __STATIC_INLINE uint32_t | LL_SPI_GetTransferBitOrder (const SPI_TypeDef *SPIx) |
| | Get transfer bit order.
|
| __STATIC_INLINE void | LL_SPI_SetTransferDirection (SPI_TypeDef *SPIx, uint32_t TransferDirection) |
| | Set transfer direction mode.
|
| __STATIC_INLINE uint32_t | LL_SPI_GetTransferDirection (const SPI_TypeDef *SPIx) |
| | Get transfer direction mode.
|
| __STATIC_INLINE void | LL_SPI_SetDataWidth (SPI_TypeDef *SPIx, uint32_t DataWidth) |
| | Set frame data width.
|
| __STATIC_INLINE uint32_t | LL_SPI_GetDataWidth (const SPI_TypeDef *SPIx) |
| | Get frame data width.
|
| __STATIC_INLINE void | LL_SPI_SetRxFIFOThreshold (SPI_TypeDef *SPIx, uint32_t Threshold) |
| | Set threshold of RXFIFO that triggers an RXNE event.
|
| __STATIC_INLINE uint32_t | LL_SPI_GetRxFIFOThreshold (const SPI_TypeDef *SPIx) |
| | Get threshold of RXFIFO that triggers an RXNE event.
|