HAL + 0/2 examples
CodeScope will show references to LL_USART_ConfigClock() from the following samples and libraries:
 
Symbols
loading...
Files
loading...

LL_USART_ConfigClock() function

Configure Clock signal format (Phase Polarity and choice about output of last bit clock pulse)

Syntax

__STATIC_INLINE void LL_USART_ConfigClock(USART_TypeDef *USARTx,     uint32_t Phase,     uint32_t Polarity,     uint32_t LBCPOutput);

Arguments

USARTx

USART Instance

Phase

This parameter can be one of the following values: @arg LL_USART_PHASE_1EDGE @arg LL_USART_PHASE_2EDGE

Polarity

This parameter can be one of the following values: @arg LL_USART_POLARITY_LOW @arg LL_USART_POLARITY_HIGH

LBCPOutput

This parameter can be one of the following values: @arg LL_USART_LASTCLKPULSE_NO_OUTPUT @arg LL_USART_LASTCLKPULSE_OUTPUT

Return value

None

Notes

Macro IS_USART_INSTANCE(USARTx) can be used to check whether or not Synchronous mode is supported by the USARTx instance. Call of this function is equivalent to following function call sequence : - Clock Phase configuration using LL_USART_SetClockPhase() function - Clock Polarity configuration using LL_USART_SetClockPolarity() function - Output of Last bit Clock pulse configuration using LL_USART_SetLastClkPulseOutput() function CR2 CPOL LL_USART_ConfigClock\n CR2 LBCL LL_USART_ConfigClock

Examples

LL_USART_ConfigClock() is referenced by 2 libraries and example projects.

References

LocationText
stm32f4xx_ll_usart.h:750
__STATIC_INLINE void LL_USART_ConfigClock(USART_TypeDef *USARTx, uint32_t Phase, uint32_t Polarity, uint32_t LBCPOutput)