Initialize LPUART registers according to the specified parameters in LPUART_InitStruct.
170 ErrorStatus status = ERROR;
175 #if defined(USART_PRESC_PRESCALER) 196 (USART_CR1_M | USART_CR1_PCE | USART_CR1_PS | USART_CR1_TE | USART_CR1_RE),
223 if ((periphclk != LL_RCC_PERIPH_FREQUENCY_NO)
224 && (LPUART_InitStruct->
BaudRate != 0U))
229 #
if defined(USART_PRESC_PRESCALER)
241 #if defined(USART_PRESC_PRESCALER) uint32_t TransferDirection
__STATIC_INLINE void LL_LPUART_SetHWFlowCtrl(USART_TypeDef *LPUARTx, uint32_t HardwareFlowControl)
Configure HW Flow Control mode (both CTS and RTS) CR3 RTSE LL_LPUART_SetHWFlowCtrl CR3 CTSE LL_LPUA...
__STATIC_INLINE void LL_LPUART_SetBaudRate(USART_TypeDef *LPUARTx, uint32_t PeriphClk, uint32_t PrescalerValue, uint32_t BaudRate) __STATIC_INLINE void LL_LPUART_SetBaudRate(USART_TypeDef *LPUARTx
Configure LPUART BRR register for achieving expected Baud Rate value.
uint32_t HardwareFlowControl
__STATIC_INLINE void LL_LPUART_SetStopBitsLength(USART_TypeDef *LPUARTx, uint32_t StopBits)
Set the length of the stop bits CR2 STOP LL_LPUART_SetStopBitsLength.
__STATIC_INLINE uint32_t LL_LPUART_IsEnabled(USART_TypeDef *LPUARTx)
Indicate if LPUART is enabled CR1 UE LL_LPUART_IsEnabled.
uint32_t LL_RCC_GetLPUARTClockFreq(uint32_t LPUARTxSource)
Return LPUARTx clock frequency.
__STATIC_INLINE void LL_LPUART_SetPrescaler(USART_TypeDef *LPUARTx, uint32_t PrescalerValue)
Configure Clock source prescaler for baudrate generator and oversampling PRESC PRESCALER LL_LPUART_S...
ADC handle Structure definition.
MODIFY_REG(hrtc->Instance->CR, RTC_CR_WUCKSEL,(uint32_t) WakeUpClock)
assert_param(IS_RTC_WAKEUP_CLOCK(WakeUpClock))