Configure Clock signal format (Phase Polarity and choice about
output of last bit clock pulse)
USARTx: USART Instance
Phase: This parameter can be one of the following values:
LL_USART_PHASE_1EDGE
LL_USART_PHASE_2EDGE
Polarity: This parameter can be one of the following values:
LL_USART_POLARITY_LOW
LL_USART_POLARITY_HIGH
LBCPOutput: This parameter can be one of the following
values:
LL_USART_LASTCLKPULSE_NO_OUTPUT
LL_USART_LASTCLKPULSE_OUTPUT
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() functionClock Polarity
configuration using LL_USART_SetClockPolarity()
functionOutput of Last bit Clock pulse configuration using
LL_USART_SetLastClkPulseOutput() function
Reference Manual to
LL API cross
reference:
CR2 CPHA LL_USART_ConfigClock
CR2 CPOL LL_USART_ConfigClock
CR2 LBCL LL_USART_ConfigClock
LL_USART_EnableSCLKOutput
__STATIC_INLINE void LL_USART_EnableSCLKOutput
(USART_TypeDef * USARTx)
Enable Clock output on SCLK pin.
Macro IS_USART_INSTANCE(USARTx) can be used to
check whether or not Synchronous mode is supported by the
USARTx instance.
Reference Manual to
LL API cross
reference:
CR2 CLKEN LL_USART_EnableSCLKOutput
LL_USART_DisableSCLKOutput
__STATIC_INLINE void LL_USART_DisableSCLKOutput
(USART_TypeDef * USARTx)
Disable Clock output on SCLK pin.