Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of TUKS-COURSE-TIMER by
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 CR1 SSM LL_SPI_GetNSSMode CR2 SSOE LL_SPI_GetNSSMode. | |
__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. CR2 NSSP LL_SPI_DisableNSSPulseMgt
- Parameters:
-
SPIx SPI Instance
- Return values:
-
None
Definition at line 894 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. CR2 NSSP LL_SPI_EnableNSSPulseMgt
- Parameters:
-
SPIx SPI Instance
- Return values:
-
None
Definition at line 882 of file stm32l4xx_ll_spi.h.
__STATIC_INLINE uint32_t LL_SPI_GetNSSMode | ( | SPI_TypeDef * | SPIx ) |
Get NSS mode CR1 SSM LL_SPI_GetNSSMode
CR2 SSOE LL_SPI_GetNSSMode.
- Parameters:
-
SPIx SPI Instance
- Return values:
-
Returned value can be one of the following values: - LL_SPI_NSS_SOFT
- LL_SPI_NSS_HARD_INPUT
- LL_SPI_NSS_HARD_OUTPUT
Definition at line 868 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. CR2 NSSP LL_SPI_IsEnabledNSSPulse
- Parameters:
-
SPIx SPI Instance
- Return values:
-
State of bit (1 or 0).
Definition at line 906 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. CR1 SSM LL_SPI_SetNSSMode
CR2 SSOE LL_SPI_SetNSSMode
- Parameters:
-
SPIx SPI Instance NSS This parameter can be one of the following values: - LL_SPI_NSS_SOFT
- LL_SPI_NSS_HARD_INPUT
- LL_SPI_NSS_HARD_OUTPUT
- Return values:
-
None
Definition at line 852 of file stm32l4xx_ll_spi.h.
Generated on Tue Jul 12 2022 17:38:58 by
