STM32F439xx HAL User Manual
Functions
Configuration functions related to Half Duplex feature
USART Exported Functions

Functions

__STATIC_INLINE void LL_USART_EnableHalfDuplex (USART_TypeDef *USARTx)
 Enable Single Wire Half-Duplex mode.
__STATIC_INLINE void LL_USART_DisableHalfDuplex (USART_TypeDef *USARTx)
 Disable Single Wire Half-Duplex mode.
__STATIC_INLINE uint32_t LL_USART_IsEnabledHalfDuplex (USART_TypeDef *USARTx)
 Indicate if Single Wire Half-Duplex mode is enabled.

Function Documentation

__STATIC_INLINE void LL_USART_DisableHalfDuplex ( USART_TypeDef *  USARTx)

Disable Single Wire Half-Duplex mode.

Note:
Macro IS_UART_HALFDUPLEX_INSTANCE(USARTx) can be used to check whether or not Half-Duplex mode is supported by the USARTx instance.
Reference Manual to LL API cross reference:
CR3 HDSEL LL_USART_DisableHalfDuplex
Parameters:
USARTxUSART Instance
Return values:
None

Definition at line 1365 of file stm32f4xx_ll_usart.h.

__STATIC_INLINE void LL_USART_EnableHalfDuplex ( USART_TypeDef *  USARTx)

Enable Single Wire Half-Duplex mode.

Note:
Macro IS_UART_HALFDUPLEX_INSTANCE(USARTx) can be used to check whether or not Half-Duplex mode is supported by the USARTx instance.
Reference Manual to LL API cross reference:
CR3 HDSEL LL_USART_EnableHalfDuplex
Parameters:
USARTxUSART Instance
Return values:
None

Definition at line 1352 of file stm32f4xx_ll_usart.h.

__STATIC_INLINE uint32_t LL_USART_IsEnabledHalfDuplex ( USART_TypeDef *  USARTx)

Indicate if Single Wire Half-Duplex mode is enabled.

Note:
Macro IS_UART_HALFDUPLEX_INSTANCE(USARTx) can be used to check whether or not Half-Duplex mode is supported by the USARTx instance.
Reference Manual to LL API cross reference:
CR3 HDSEL LL_USART_IsEnabledHalfDuplex
Parameters:
USARTxUSART Instance
Return values:
Stateof bit (1 or 0).

Definition at line 1378 of file stm32f4xx_ll_usart.h.