EasyManua.ls Logo

ST STM32F2

ST STM32F2
1371 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
LL USART Generic Driver
UM1940
1250/1371
DocID028236 Rev 2
Notes
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 CPHA LL_USART_GetClockPhase
LL_USART_SetClockPolarity
Function name
__STATIC_INLINE void LL_USART_SetClockPolarity
(USART_TypeDef * USARTx, uint32_t ClockPolarity)
Function description
Select the polarity of the clock output on the SCLK pin in
synchronous mode.
Parameters
USARTx: USART Instance
ClockPolarity: This parameter can be one of the following
values:
LL_USART_POLARITY_LOW
LL_USART_POLARITY_HIGH
Return values
None:
Notes
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 CPOL LL_USART_SetClockPolarity
LL_USART_GetClockPolarity
Function name
__STATIC_INLINE uint32_t LL_USART_GetClockPolarity
(USART_TypeDef * USARTx)
Function description
Return polarity of the clock output on the SCLK pin in synchronous
mode.
Parameters
USARTx: USART Instance
Return values
Returned: value can be one of the following values:
LL_USART_POLARITY_LOW
LL_USART_POLARITY_HIGH
Notes
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 CPOL LL_USART_GetClockPolarity
LL_USART_ConfigClock
Function name
__STATIC_INLINE void LL_USART_ConfigClock
(USART_TypeDef * USARTx, uint32_t Phase, uint32_t Polarity,
uint32_t LBCPOutput)

Table of Contents

Related product manuals