LL USART Generic Driver
Return values
Notes
Reference Manual to
LL API cross
reference:
LL_USART_IsEnabledSCLKOutput
Function name
Function description
Parameters
Return values
Notes
Reference Manual to
LL API cross
reference:
LL_USART_SetStopBitsLength
Function name
Function description
Parameters
Return values
Reference Manual to
LL API cross
reference:
LL_USART_GetStopBitsLength
Function name
Function description
Parameters
Return values
1252/1371
None:
Macro IS_USART_INSTANCE(USARTx) can be used to
check whether or not Synchronous mode is supported by the
USARTx instance.
CR2 CLKEN LL_USART_DisableSCLKOutput
__STATIC_INLINE uint32_t LL_USART_IsEnabledSCLKOutput
(USART_TypeDef * USARTx)
Indicate if Clock output on SCLK pin is enabled.
USARTx: USART Instance
State: of bit (1 or 0).
Macro IS_USART_INSTANCE(USARTx) can be used to
check whether or not Synchronous mode is supported by the
USARTx instance.
CR2 CLKEN LL_USART_IsEnabledSCLKOutput
__STATIC_INLINE void LL_USART_SetStopBitsLength
(USART_TypeDef * USARTx, uint32_t StopBits)
Set the length of the stop bits.
USARTx: USART Instance
StopBits: This parameter can be one of the following values:
LL_USART_STOPBITS_0_5
LL_USART_STOPBITS_1
LL_USART_STOPBITS_1_5
LL_USART_STOPBITS_2
None:
CR2 STOP LL_USART_SetStopBitsLength
__STATIC_INLINE uint32_t LL_USART_GetStopBitsLength
(USART_TypeDef * USARTx)
Retrieve the length of the stop bits.
USARTx: USART Instance
Returned: value can be one of the following values:
LL_USART_STOPBITS_0_5
LL_USART_STOPBITS_1
DocID028236 Rev 2
UM1940
Need help?
Do you have a question about the STM32F2 and is the answer not in the manual?
Questions and answers