Ll_Usart_Setoversampling; Ll_Usart_Getoversampling; Ll_Usart_Setlastclkpulseoutput - ST STM32F2 User Manual

Description of stm32f2 hal and low layer drivers
Hide thumbs Also See for STM32F2:
Table of Contents

Advertisement

LL USART Generic Driver

LL_USART_SetOverSampling

Function name
Function description
Parameters
Return values
Reference Manual to
LL API cross
reference:

LL_USART_GetOverSampling

Function name
Function description
Parameters
Return values
Reference Manual to
LL API cross
reference:

LL_USART_SetLastClkPulseOutput

Function name
Function description
Parameters
Return values
Notes
Reference Manual to
LL API cross
reference:
1248/1371
__STATIC_INLINE void LL_USART_SetOverSampling
(USART_TypeDef * USARTx, uint32_t OverSampling)
Set Oversampling to 8-bit or 16-bit mode.
USARTx: USART Instance
OverSampling: This parameter can be one of the following
values:
LL_USART_OVERSAMPLING_16
LL_USART_OVERSAMPLING_8
None:
CR1 OVER8 LL_USART_SetOverSampling
__STATIC_INLINE uint32_t LL_USART_GetOverSampling
(USART_TypeDef * USARTx)
Return Oversampling mode.
USARTx: USART Instance
Returned: value can be one of the following values:
LL_USART_OVERSAMPLING_16
LL_USART_OVERSAMPLING_8
CR1 OVER8 LL_USART_GetOverSampling
__STATIC_INLINE void LL_USART_SetLastClkPulseOutput
(USART_TypeDef * USARTx, uint32_t LastBitClockPulse)
Configure if Clock pulse of the last data bit is output to the SCLK
pin or not.
USARTx: USART Instance
LastBitClockPulse: This parameter can be one of the
following values:
LL_USART_LASTCLKPULSE_NO_OUTPUT
LL_USART_LASTCLKPULSE_OUTPUT
None:
Macro IS_USART_INSTANCE(USARTx) can be used to
check whether or not Synchronous mode is supported by the
USARTx instance.
CR2 LBCL LL_USART_SetLastClkPulseOutput
DocID028236 Rev 2
UM1940

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the STM32F2 and is the answer not in the manual?

Table of Contents

Save PDF