Ll_Usart_Setclockpolarity; Ll_Usart_Getclockpolarity; Ll_Usart_Configclock - 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
Notes
Reference Manual to
LL API cross
reference:

LL_USART_SetClockPolarity

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

LL_USART_GetClockPolarity

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

LL_USART_ConfigClock

Function name
1250/1371
Macro IS_USART_INSTANCE(USARTx) can be used to
check whether or not Synchronous mode is supported by the
USARTx instance.
CR2 CPHA LL_USART_GetClockPhase
__STATIC_INLINE void LL_USART_SetClockPolarity
(USART_TypeDef * USARTx, uint32_t ClockPolarity)
Select the polarity of the clock output on the SCLK pin in
synchronous mode.
USARTx: USART Instance
ClockPolarity: This parameter can be one of the following
values:
LL_USART_POLARITY_LOW
LL_USART_POLARITY_HIGH
None:
Macro IS_USART_INSTANCE(USARTx) can be used to
check whether or not Synchronous mode is supported by the
USARTx instance.
CR2 CPOL LL_USART_SetClockPolarity
__STATIC_INLINE uint32_t LL_USART_GetClockPolarity
(USART_TypeDef * USARTx)
Return polarity of the clock output on the SCLK pin in synchronous
mode.
USARTx: USART Instance
Returned: value can be one of the following values:
LL_USART_POLARITY_LOW
LL_USART_POLARITY_HIGH
Macro IS_USART_INSTANCE(USARTx) can be used to
check whether or not Synchronous mode is supported by the
USARTx instance.
CR2 CPOL LL_USART_GetClockPolarity
__STATIC_INLINE void LL_USART_ConfigClock
(USART_TypeDef * USARTx, uint32_t Phase, uint32_t Polarity,
uint32_t LBCPOutput)
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?

Questions and answers

Subscribe to Our Youtube Channel

Table of Contents

Save PDF