STM32L486xx HAL User Manual
Functions
Slave Select Pin Management
SPI Exported Functions

Functions

__STATIC_INLINE void LL_SPI_SetNSSMode (SPI_TypeDef *SPIx, uint32_t NSS)
 Set NSS mode.
__STATIC_INLINE uint32_t LL_SPI_GetNSSMode (SPI_TypeDef *SPIx)
 Get NSS mode.
__STATIC_INLINE void LL_SPI_EnableNSSPulseMgt (SPI_TypeDef *SPIx)
 Enable NSS pulse management.
__STATIC_INLINE void LL_SPI_DisableNSSPulseMgt (SPI_TypeDef *SPIx)
 Disable NSS pulse management.
__STATIC_INLINE uint32_t LL_SPI_IsEnabledNSSPulse (SPI_TypeDef *SPIx)
 Check if NSS pulse is enabled.

Function Documentation

__STATIC_INLINE void LL_SPI_DisableNSSPulseMgt ( SPI_TypeDef *  SPIx)

Disable NSS pulse management.

Note:
This bit should not be changed when communication is ongoing. This bit is not used in SPI TI mode.
Reference Manual to LL API cross reference:
CR2 NSSP LL_SPI_DisableNSSPulseMgt
Parameters:
SPIxSPI Instance
Return values:
None

Definition at line 891 of file stm32l4xx_ll_spi.h.

__STATIC_INLINE void LL_SPI_EnableNSSPulseMgt ( SPI_TypeDef *  SPIx)

Enable NSS pulse management.

Note:
This bit should not be changed when communication is ongoing. This bit is not used in SPI TI mode.
Reference Manual to LL API cross reference:
CR2 NSSP LL_SPI_EnableNSSPulseMgt
Parameters:
SPIxSPI Instance
Return values:
None

Definition at line 879 of file stm32l4xx_ll_spi.h.

__STATIC_INLINE uint32_t LL_SPI_GetNSSMode ( SPI_TypeDef *  SPIx)

Get NSS mode.

Reference Manual to LL API cross reference:
CR1 SSM LL_SPI_GetNSSMode
Reference Manual to LL API cross reference:
CR2 SSOE LL_SPI_GetNSSMode
Parameters:
SPIxSPI Instance
Return values:
Returnedvalue can be one of the following values:

Definition at line 865 of file stm32l4xx_ll_spi.h.

__STATIC_INLINE uint32_t LL_SPI_IsEnabledNSSPulse ( SPI_TypeDef *  SPIx)

Check if NSS pulse is enabled.

Note:
This bit should not be changed when communication is ongoing. This bit is not used in SPI TI mode.
Reference Manual to LL API cross reference:
CR2 NSSP LL_SPI_IsEnabledNSSPulse
Parameters:
SPIxSPI Instance
Return values:
Stateof bit (1 or 0).

Definition at line 903 of file stm32l4xx_ll_spi.h.

__STATIC_INLINE void LL_SPI_SetNSSMode ( SPI_TypeDef *  SPIx,
uint32_t  NSS 
)

Set NSS mode.

Note:
LL_SPI_NSS_SOFT Mode is not used in SPI TI mode.
Reference Manual to LL API cross reference:
CR1 SSM LL_SPI_SetNSSMode
Reference Manual to LL API cross reference:
CR2 SSOE LL_SPI_SetNSSMode
Parameters:
SPIxSPI Instance
NSSThis parameter can be one of the following values:
Return values:
None

Definition at line 849 of file stm32l4xx_ll_spi.h.