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
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. CR3 HDSEL LL_USART_DisableHalfDuplex
- Parameters:
-
USARTx USART Instance
- Return values:
-
None
Definition at line 2007 of file stm32l4xx_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. CR3 HDSEL LL_USART_EnableHalfDuplex
- Parameters:
-
USARTx USART Instance
- Return values:
-
None
Definition at line 1994 of file stm32l4xx_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. CR3 HDSEL LL_USART_IsEnabledHalfDuplex
- Parameters:
-
USARTx USART Instance
- Return values:
-
State of bit (1 or 0).
Definition at line 2020 of file stm32l4xx_ll_usart.h.
Generated on Tue Jul 12 2022 17:38:59 by
