|
STM32L443xx HAL User Manual
|
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 (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 (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 (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 (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 (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 (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 (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 (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 (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 (SPI_TypeDef *SPIx) |
| Get threshold of RXFIFO that triggers an RXNE event. | |
| __STATIC_INLINE void LL_SPI_Disable | ( | SPI_TypeDef * | SPIx | ) |
Disable SPI peripheral.
| SPIx | SPI Instance |
| None |
Definition at line 370 of file stm32l4xx_ll_spi.h.
| __STATIC_INLINE void LL_SPI_Enable | ( | SPI_TypeDef * | SPIx | ) |
Enable SPI peripheral.
| SPIx | SPI Instance |
| None |
Definition at line 358 of file stm32l4xx_ll_spi.h.
| __STATIC_INLINE uint32_t LL_SPI_GetBaudRatePrescaler | ( | SPI_TypeDef * | SPIx | ) |
Get baud rate prescaler.
| SPIx | SPI Instance |
| Returned | value can be one of the following values: |
Definition at line 537 of file stm32l4xx_ll_spi.h.
| __STATIC_INLINE uint32_t LL_SPI_GetClockPhase | ( | SPI_TypeDef * | SPIx | ) |
Get clock phase.
| SPIx | SPI Instance |
| Returned | value can be one of the following values: |
Definition at line 468 of file stm32l4xx_ll_spi.h.
| __STATIC_INLINE uint32_t LL_SPI_GetClockPolarity | ( | SPI_TypeDef * | SPIx | ) |
Get clock polarity.
| SPIx | SPI Instance |
| Returned | value can be one of the following values: |
Definition at line 497 of file stm32l4xx_ll_spi.h.
| __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: |
Definition at line 651 of file stm32l4xx_ll_spi.h.
| __STATIC_INLINE uint32_t LL_SPI_GetMode | ( | SPI_TypeDef * | SPIx | ) |
Get SPI operation mode (Master or Slave)
| SPIx | SPI Instance |
| Returned | value can be one of the following values: |
Definition at line 411 of file stm32l4xx_ll_spi.h.
| __STATIC_INLINE uint32_t LL_SPI_GetRxFIFOThreshold | ( | SPI_TypeDef * | SPIx | ) |
Get threshold of RXFIFO that triggers an RXNE event.
| SPIx | SPI Instance |
| Returned | value can be one of the following values: |
Definition at line 678 of file stm32l4xx_ll_spi.h.
| __STATIC_INLINE uint32_t LL_SPI_GetStandard | ( | SPI_TypeDef * | SPIx | ) |
Get serial protocol used.
| SPIx | SPI Instance |
| Returned | value can be one of the following values: |
Definition at line 439 of file stm32l4xx_ll_spi.h.
| __STATIC_INLINE uint32_t LL_SPI_GetTransferBitOrder | ( | SPI_TypeDef * | SPIx | ) |
Get transfer bit order.
| SPIx | SPI Instance |
| Returned | value can be one of the following values: |
Definition at line 565 of file stm32l4xx_ll_spi.h.
| __STATIC_INLINE uint32_t LL_SPI_GetTransferDirection | ( | SPI_TypeDef * | SPIx | ) |
Get transfer direction mode.
| SPIx | SPI Instance |
| Returned | value can be one of the following values: |
Definition at line 602 of file stm32l4xx_ll_spi.h.
| __STATIC_INLINE uint32_t LL_SPI_IsEnabled | ( | SPI_TypeDef * | SPIx | ) |
Check if SPI peripheral is enabled.
| SPIx | SPI Instance |
| State | of bit (1 or 0). |
Definition at line 381 of file stm32l4xx_ll_spi.h.
Referenced by LL_SPI_Init().
| __STATIC_INLINE void LL_SPI_SetBaudRatePrescaler | ( | SPI_TypeDef * | SPIx, |
| uint32_t | BaudRate | ||
| ) |
Set baud rate prescaler.
| SPIx | SPI Instance |
| BaudRate | This parameter can be one of the following values: |
| None |
Definition at line 518 of file stm32l4xx_ll_spi.h.
| __STATIC_INLINE void LL_SPI_SetClockPhase | ( | SPI_TypeDef * | SPIx, |
| uint32_t | ClockPhase | ||
| ) |
Set clock phase.
| SPIx | SPI Instance |
| ClockPhase | This parameter can be one of the following values: |
| None |
Definition at line 455 of file stm32l4xx_ll_spi.h.
| __STATIC_INLINE void LL_SPI_SetClockPolarity | ( | SPI_TypeDef * | SPIx, |
| uint32_t | ClockPolarity | ||
| ) |
Set clock polarity.
| SPIx | SPI Instance |
| ClockPolarity | This parameter can be one of the following values: |
| None |
Definition at line 484 of file stm32l4xx_ll_spi.h.
| __STATIC_INLINE void LL_SPI_SetDataWidth | ( | SPI_TypeDef * | SPIx, |
| uint32_t | DataWidth | ||
| ) |
Set frame data width.
| SPIx | SPI Instance |
| DataWidth | This parameter can be one of the following values: |
| None |
Definition at line 627 of file stm32l4xx_ll_spi.h.
| __STATIC_INLINE void LL_SPI_SetMode | ( | SPI_TypeDef * | SPIx, |
| uint32_t | Mode | ||
| ) |
Set SPI operation mode to Master or Slave.
| SPIx | SPI Instance |
| Mode | This parameter can be one of the following values: |
| None |
Definition at line 397 of file stm32l4xx_ll_spi.h.
| __STATIC_INLINE void LL_SPI_SetRxFIFOThreshold | ( | SPI_TypeDef * | SPIx, |
| uint32_t | Threshold | ||
| ) |
Set threshold of RXFIFO that triggers an RXNE event.
| SPIx | SPI Instance |
| Threshold | This parameter can be one of the following values: |
| None |
Definition at line 665 of file stm32l4xx_ll_spi.h.
Referenced by LL_SPI_Init().
| __STATIC_INLINE void LL_SPI_SetStandard | ( | SPI_TypeDef * | SPIx, |
| uint32_t | Standard | ||
| ) |
Set serial protocol used.
| SPIx | SPI Instance |
| Standard | This parameter can be one of the following values: |
| None |
Definition at line 426 of file stm32l4xx_ll_spi.h.
| __STATIC_INLINE void LL_SPI_SetTransferBitOrder | ( | SPI_TypeDef * | SPIx, |
| uint32_t | BitOrder | ||
| ) |
Set transfer bit order.
| SPIx | SPI Instance |
| BitOrder | This parameter can be one of the following values: |
| None |
Definition at line 552 of file stm32l4xx_ll_spi.h.
| __STATIC_INLINE void LL_SPI_SetTransferDirection | ( | SPI_TypeDef * | SPIx, |
| uint32_t | TransferDirection | ||
| ) |
Set transfer direction mode.
| SPIx | SPI Instance |
| TransferDirection | This parameter can be one of the following values: |
| None |
Definition at line 585 of file stm32l4xx_ll_spi.h.
1.7.6.1