EasyManua.ls Logo

ST STM32F2

ST STM32F2
1371 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
LL USART Generic Driver
UM1940
1264/1371
DocID028236 Rev 2
supported by the USARTx instance.
Reference Manual to
LL API cross
reference:
CR3 HDSEL LL_USART_EnableHalfDuplex
LL_USART_DisableHalfDuplex
Function name
__STATIC_INLINE void LL_USART_DisableHalfDuplex
(USART_TypeDef * USARTx)
Function description
Disable Single Wire Half-Duplex mode.
Parameters
USARTx: USART Instance
Return values
None:
Notes
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
LL_USART_IsEnabledHalfDuplex
Function name
__STATIC_INLINE uint32_t LL_USART_IsEnabledHalfDuplex
(USART_TypeDef * USARTx)
Function description
Indicate if Single Wire Half-Duplex mode is enabled.
Parameters
USARTx: USART Instance
Return values
State: of bit (1 or 0).
Notes
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
LL_USART_SetLINBrkDetectionLen
Function name
__STATIC_INLINE void LL_USART_SetLINBrkDetectionLen
(USART_TypeDef * USARTx, uint32_t LINBDLength)
Function description
Set LIN Break Detection Length.
Parameters
USARTx: USART Instance
LINBDLength: This parameter can be one of the following
values:
LL_USART_LINBREAK_DETECT_10B
LL_USART_LINBREAK_DETECT_11B
Return values
None:
Notes
Macro IS_UART_LIN_INSTANCE(USARTx) can be used to
check whether or not LIN feature is supported by the USARTx

Table of Contents

Related product manuals