STM32H735xx HAL User Manual
Functions
Configuration functions related to SPI Slave feature
USART Exported Functions

Functions

__STATIC_INLINE void LL_USART_EnableSPISlave (USART_TypeDef *USARTx)
 Enable SPI Synchronous Slave mode.
__STATIC_INLINE void LL_USART_DisableSPISlave (USART_TypeDef *USARTx)
 Disable SPI Synchronous Slave mode.
__STATIC_INLINE uint32_t LL_USART_IsEnabledSPISlave (USART_TypeDef *USARTx)
 Indicate if SPI Synchronous Slave mode is enabled.
__STATIC_INLINE void LL_USART_EnableSPISlaveSelect (USART_TypeDef *USARTx)
 Enable SPI Slave Selection using NSS input pin.
__STATIC_INLINE void LL_USART_DisableSPISlaveSelect (USART_TypeDef *USARTx)
 Disable SPI Slave Selection using NSS input pin.
__STATIC_INLINE uint32_t LL_USART_IsEnabledSPISlaveSelect (USART_TypeDef *USARTx)
 Indicate if SPI Slave Selection depends on NSS input pin.

Function Documentation

__STATIC_INLINE void LL_USART_DisableSPISlave ( USART_TypeDef *  USARTx)

Disable SPI Synchronous Slave mode.

Note:
Macro IS_UART_SPI_SLAVE_INSTANCE(USARTx) can be used to check whether or not SPI Slave mode feature is supported by the USARTx instance.
Reference Manual to LL API cross reference:
CR2 SLVEN LL_USART_DisableSPISlave
Parameters:
USARTxUSART Instance
Return values:
None

Definition at line 2364 of file stm32h7xx_ll_usart.h.

__STATIC_INLINE void LL_USART_DisableSPISlaveSelect ( USART_TypeDef *  USARTx)

Disable SPI Slave Selection using NSS input pin.

Note:
Macro IS_UART_SPI_SLAVE_INSTANCE(USARTx) can be used to check whether or not SPI Slave mode feature is supported by the USARTx instance.
SPI Slave will be always selected and NSS input pin will be ignored.
Reference Manual to LL API cross reference:
CR2 DIS_NSS LL_USART_DisableSPISlaveSelect
Parameters:
USARTxUSART Instance
Return values:
None

Definition at line 2406 of file stm32h7xx_ll_usart.h.

__STATIC_INLINE void LL_USART_EnableSPISlave ( USART_TypeDef *  USARTx)

Enable SPI Synchronous Slave mode.

Note:
Macro IS_UART_SPI_SLAVE_INSTANCE(USARTx) can be used to check whether or not SPI Slave mode feature is supported by the USARTx instance.
Reference Manual to LL API cross reference:
CR2 SLVEN LL_USART_EnableSPISlave
Parameters:
USARTxUSART Instance
Return values:
None

Definition at line 2351 of file stm32h7xx_ll_usart.h.

__STATIC_INLINE void LL_USART_EnableSPISlaveSelect ( USART_TypeDef *  USARTx)

Enable SPI Slave Selection using NSS input pin.

Note:
Macro IS_UART_SPI_SLAVE_INSTANCE(USARTx) can be used to check whether or not SPI Slave mode feature is supported by the USARTx instance.
SPI Slave Selection depends on NSS input pin (The slave is selected when NSS is low and deselected when NSS is high).
Reference Manual to LL API cross reference:
CR2 DIS_NSS LL_USART_EnableSPISlaveSelect
Parameters:
USARTxUSART Instance
Return values:
None

Definition at line 2392 of file stm32h7xx_ll_usart.h.

__STATIC_INLINE uint32_t LL_USART_IsEnabledSPISlave ( USART_TypeDef *  USARTx)

Indicate if SPI Synchronous Slave mode is enabled.

Note:
Macro IS_UART_SPI_SLAVE_INSTANCE(USARTx) can be used to check whether or not SPI Slave mode feature is supported by the USARTx instance.
Reference Manual to LL API cross reference:
CR2 SLVEN LL_USART_IsEnabledSPISlave
Parameters:
USARTxUSART Instance
Return values:
Stateof bit (1 or 0).

Definition at line 2377 of file stm32h7xx_ll_usart.h.

__STATIC_INLINE uint32_t LL_USART_IsEnabledSPISlaveSelect ( USART_TypeDef *  USARTx)

Indicate if SPI Slave Selection depends on NSS input pin.

Note:
Macro IS_UART_SPI_SLAVE_INSTANCE(USARTx) can be used to check whether or not SPI Slave mode feature is supported by the USARTx instance.
Reference Manual to LL API cross reference:
CR2 DIS_NSS LL_USART_IsEnabledSPISlaveSelect
Parameters:
USARTxUSART Instance
Return values:
Stateof bit (1 or 0).

Definition at line 2419 of file stm32h7xx_ll_usart.h.