Home
last modified time | relevance | path

Searched refs:LPUARTx (Results 1 – 25 of 29) sorted by relevance

12

/hal_stm32-3.4.0/stm32cube/stm32l4xx/drivers/include/
Dstm32l4xx_ll_lpuart.h532 __STATIC_INLINE void LL_LPUART_Enable(USART_TypeDef *LPUARTx) in LL_LPUART_Enable() argument
534 SET_BIT(LPUARTx->CR1, USART_CR1_UE); in LL_LPUART_Enable()
551 __STATIC_INLINE void LL_LPUART_Disable(USART_TypeDef *LPUARTx) in LL_LPUART_Disable() argument
553 CLEAR_BIT(LPUARTx->CR1, USART_CR1_UE); in LL_LPUART_Disable()
562 __STATIC_INLINE uint32_t LL_LPUART_IsEnabled(const USART_TypeDef *LPUARTx) in LL_LPUART_IsEnabled() argument
564 return ((READ_BIT(LPUARTx->CR1, USART_CR1_UE) == (USART_CR1_UE)) ? 1UL : 0UL); in LL_LPUART_IsEnabled()
574 __STATIC_INLINE void LL_LPUART_EnableFIFO(USART_TypeDef *LPUARTx) in LL_LPUART_EnableFIFO() argument
576 SET_BIT(LPUARTx->CR1, USART_CR1_FIFOEN); in LL_LPUART_EnableFIFO()
585 __STATIC_INLINE void LL_LPUART_DisableFIFO(USART_TypeDef *LPUARTx) in LL_LPUART_DisableFIFO() argument
587 CLEAR_BIT(LPUARTx->CR1, USART_CR1_FIFOEN); in LL_LPUART_DisableFIFO()
[all …]
/hal_stm32-3.4.0/stm32cube/stm32u5xx/drivers/include/
Dstm32u5xx_ll_lpuart.h511 __STATIC_INLINE void LL_LPUART_Enable(USART_TypeDef *LPUARTx) in LL_LPUART_Enable() argument
513 SET_BIT(LPUARTx->CR1, USART_CR1_UE); in LL_LPUART_Enable()
530 __STATIC_INLINE void LL_LPUART_Disable(USART_TypeDef *LPUARTx) in LL_LPUART_Disable() argument
532 CLEAR_BIT(LPUARTx->CR1, USART_CR1_UE); in LL_LPUART_Disable()
541 __STATIC_INLINE uint32_t LL_LPUART_IsEnabled(const USART_TypeDef *LPUARTx) in LL_LPUART_IsEnabled() argument
543 return ((READ_BIT(LPUARTx->CR1, USART_CR1_UE) == (USART_CR1_UE)) ? 1UL : 0UL); in LL_LPUART_IsEnabled()
552 __STATIC_INLINE void LL_LPUART_EnableFIFO(USART_TypeDef *LPUARTx) in LL_LPUART_EnableFIFO() argument
554 SET_BIT(LPUARTx->CR1, USART_CR1_FIFOEN); in LL_LPUART_EnableFIFO()
563 __STATIC_INLINE void LL_LPUART_DisableFIFO(USART_TypeDef *LPUARTx) in LL_LPUART_DisableFIFO() argument
565 CLEAR_BIT(LPUARTx->CR1, USART_CR1_FIFOEN); in LL_LPUART_DisableFIFO()
[all …]
/hal_stm32-3.4.0/stm32cube/stm32l5xx/drivers/include/
Dstm32l5xx_ll_lpuart.h495 __STATIC_INLINE void LL_LPUART_Enable(USART_TypeDef *LPUARTx) in LL_LPUART_Enable() argument
497 SET_BIT(LPUARTx->CR1, USART_CR1_UE); in LL_LPUART_Enable()
514 __STATIC_INLINE void LL_LPUART_Disable(USART_TypeDef *LPUARTx) in LL_LPUART_Disable() argument
516 CLEAR_BIT(LPUARTx->CR1, USART_CR1_UE); in LL_LPUART_Disable()
525 __STATIC_INLINE uint32_t LL_LPUART_IsEnabled(const USART_TypeDef *LPUARTx) in LL_LPUART_IsEnabled() argument
527 return ((READ_BIT(LPUARTx->CR1, USART_CR1_UE) == (USART_CR1_UE)) ? 1UL : 0UL); in LL_LPUART_IsEnabled()
536 __STATIC_INLINE void LL_LPUART_EnableFIFO(USART_TypeDef *LPUARTx) in LL_LPUART_EnableFIFO() argument
538 SET_BIT(LPUARTx->CR1, USART_CR1_FIFOEN); in LL_LPUART_EnableFIFO()
547 __STATIC_INLINE void LL_LPUART_DisableFIFO(USART_TypeDef *LPUARTx) in LL_LPUART_DisableFIFO() argument
549 CLEAR_BIT(LPUARTx->CR1, USART_CR1_FIFOEN); in LL_LPUART_DisableFIFO()
[all …]
/hal_stm32-3.4.0/stm32cube/stm32wlxx/drivers/include/
Dstm32wlxx_ll_lpuart.h495 __STATIC_INLINE void LL_LPUART_Enable(USART_TypeDef *LPUARTx) in LL_LPUART_Enable() argument
497 SET_BIT(LPUARTx->CR1, USART_CR1_UE); in LL_LPUART_Enable()
514 __STATIC_INLINE void LL_LPUART_Disable(USART_TypeDef *LPUARTx) in LL_LPUART_Disable() argument
516 CLEAR_BIT(LPUARTx->CR1, USART_CR1_UE); in LL_LPUART_Disable()
525 __STATIC_INLINE uint32_t LL_LPUART_IsEnabled(const USART_TypeDef *LPUARTx) in LL_LPUART_IsEnabled() argument
527 return ((READ_BIT(LPUARTx->CR1, USART_CR1_UE) == (USART_CR1_UE)) ? 1UL : 0UL); in LL_LPUART_IsEnabled()
536 __STATIC_INLINE void LL_LPUART_EnableFIFO(USART_TypeDef *LPUARTx) in LL_LPUART_EnableFIFO() argument
538 SET_BIT(LPUARTx->CR1, USART_CR1_FIFOEN); in LL_LPUART_EnableFIFO()
547 __STATIC_INLINE void LL_LPUART_DisableFIFO(USART_TypeDef *LPUARTx) in LL_LPUART_DisableFIFO() argument
549 CLEAR_BIT(LPUARTx->CR1, USART_CR1_FIFOEN); in LL_LPUART_DisableFIFO()
[all …]
Dstm32wlxx_ll_rcc.h2200 __STATIC_INLINE uint32_t LL_RCC_GetLPUARTClockSource(uint32_t LPUARTx) in LL_RCC_GetLPUARTClockSource() argument
2202 return (uint32_t)(READ_BIT(RCC->CCIPR, LPUARTx)); in LL_RCC_GetLPUARTClockSource()
/hal_stm32-3.4.0/stm32cube/stm32h7xx/drivers/include/
Dstm32h7xx_ll_lpuart.h495 __STATIC_INLINE void LL_LPUART_Enable(USART_TypeDef *LPUARTx) in LL_LPUART_Enable() argument
497 SET_BIT(LPUARTx->CR1, USART_CR1_UE); in LL_LPUART_Enable()
514 __STATIC_INLINE void LL_LPUART_Disable(USART_TypeDef *LPUARTx) in LL_LPUART_Disable() argument
516 CLEAR_BIT(LPUARTx->CR1, USART_CR1_UE); in LL_LPUART_Disable()
525 __STATIC_INLINE uint32_t LL_LPUART_IsEnabled(const USART_TypeDef *LPUARTx) in LL_LPUART_IsEnabled() argument
527 return ((READ_BIT(LPUARTx->CR1, USART_CR1_UE) == (USART_CR1_UE)) ? 1UL : 0UL); in LL_LPUART_IsEnabled()
536 __STATIC_INLINE void LL_LPUART_EnableFIFO(USART_TypeDef *LPUARTx) in LL_LPUART_EnableFIFO() argument
538 SET_BIT(LPUARTx->CR1, USART_CR1_FIFOEN); in LL_LPUART_EnableFIFO()
547 __STATIC_INLINE void LL_LPUART_DisableFIFO(USART_TypeDef *LPUARTx) in LL_LPUART_DisableFIFO() argument
549 CLEAR_BIT(LPUARTx->CR1, USART_CR1_FIFOEN); in LL_LPUART_DisableFIFO()
[all …]
/hal_stm32-3.4.0/stm32cube/stm32g4xx/drivers/include/
Dstm32g4xx_ll_lpuart.h495 __STATIC_INLINE void LL_LPUART_Enable(USART_TypeDef *LPUARTx) in LL_LPUART_Enable() argument
497 SET_BIT(LPUARTx->CR1, USART_CR1_UE); in LL_LPUART_Enable()
514 __STATIC_INLINE void LL_LPUART_Disable(USART_TypeDef *LPUARTx) in LL_LPUART_Disable() argument
516 CLEAR_BIT(LPUARTx->CR1, USART_CR1_UE); in LL_LPUART_Disable()
525 __STATIC_INLINE uint32_t LL_LPUART_IsEnabled(USART_TypeDef *LPUARTx) in LL_LPUART_IsEnabled() argument
527 return ((READ_BIT(LPUARTx->CR1, USART_CR1_UE) == (USART_CR1_UE)) ? 1UL : 0UL); in LL_LPUART_IsEnabled()
536 __STATIC_INLINE void LL_LPUART_EnableFIFO(USART_TypeDef *LPUARTx) in LL_LPUART_EnableFIFO() argument
538 SET_BIT(LPUARTx->CR1, USART_CR1_FIFOEN); in LL_LPUART_EnableFIFO()
547 __STATIC_INLINE void LL_LPUART_DisableFIFO(USART_TypeDef *LPUARTx) in LL_LPUART_DisableFIFO() argument
549 CLEAR_BIT(LPUARTx->CR1, USART_CR1_FIFOEN); in LL_LPUART_DisableFIFO()
[all …]
Dstm32g4xx_ll_rcc.h1777 __STATIC_INLINE uint32_t LL_RCC_GetLPUARTClockSource(uint32_t LPUARTx) in LL_RCC_GetLPUARTClockSource() argument
1779 return (uint32_t)(READ_BIT(RCC->CCIPR, LPUARTx)); in LL_RCC_GetLPUARTClockSource()
/hal_stm32-3.4.0/stm32cube/stm32wbxx/drivers/include/
Dstm32wbxx_ll_lpuart.h495 __STATIC_INLINE void LL_LPUART_Enable(USART_TypeDef *LPUARTx) in LL_LPUART_Enable() argument
497 SET_BIT(LPUARTx->CR1, USART_CR1_UE); in LL_LPUART_Enable()
514 __STATIC_INLINE void LL_LPUART_Disable(USART_TypeDef *LPUARTx) in LL_LPUART_Disable() argument
516 CLEAR_BIT(LPUARTx->CR1, USART_CR1_UE); in LL_LPUART_Disable()
525 __STATIC_INLINE uint32_t LL_LPUART_IsEnabled(const USART_TypeDef *LPUARTx) in LL_LPUART_IsEnabled() argument
527 return ((READ_BIT(LPUARTx->CR1, USART_CR1_UE) == (USART_CR1_UE)) ? 1UL : 0UL); in LL_LPUART_IsEnabled()
536 __STATIC_INLINE void LL_LPUART_EnableFIFO(USART_TypeDef *LPUARTx) in LL_LPUART_EnableFIFO() argument
538 SET_BIT(LPUARTx->CR1, USART_CR1_FIFOEN); in LL_LPUART_EnableFIFO()
547 __STATIC_INLINE void LL_LPUART_DisableFIFO(USART_TypeDef *LPUARTx) in LL_LPUART_DisableFIFO() argument
549 CLEAR_BIT(LPUARTx->CR1, USART_CR1_FIFOEN); in LL_LPUART_DisableFIFO()
[all …]
Dstm32wbxx_ll_rcc.h2705 __STATIC_INLINE uint32_t LL_RCC_GetLPUARTClockSource(uint32_t LPUARTx) in LL_RCC_GetLPUARTClockSource() argument
2707 return (uint32_t)(READ_BIT(RCC->CCIPR, LPUARTx)); in LL_RCC_GetLPUARTClockSource()
/hal_stm32-3.4.0/stm32cube/stm32g0xx/drivers/include/
Dstm32g0xx_ll_lpuart.h495 __STATIC_INLINE void LL_LPUART_Enable(USART_TypeDef *LPUARTx) in LL_LPUART_Enable() argument
497 SET_BIT(LPUARTx->CR1, USART_CR1_UE); in LL_LPUART_Enable()
514 __STATIC_INLINE void LL_LPUART_Disable(USART_TypeDef *LPUARTx) in LL_LPUART_Disable() argument
516 CLEAR_BIT(LPUARTx->CR1, USART_CR1_UE); in LL_LPUART_Disable()
525 __STATIC_INLINE uint32_t LL_LPUART_IsEnabled(const USART_TypeDef *LPUARTx) in LL_LPUART_IsEnabled() argument
527 return ((READ_BIT(LPUARTx->CR1, USART_CR1_UE) == (USART_CR1_UE)) ? 1UL : 0UL); in LL_LPUART_IsEnabled()
536 __STATIC_INLINE void LL_LPUART_EnableFIFO(USART_TypeDef *LPUARTx) in LL_LPUART_EnableFIFO() argument
538 SET_BIT(LPUARTx->CR1, USART_CR1_FIFOEN); in LL_LPUART_EnableFIFO()
547 __STATIC_INLINE void LL_LPUART_DisableFIFO(USART_TypeDef *LPUARTx) in LL_LPUART_DisableFIFO() argument
549 CLEAR_BIT(LPUARTx->CR1, USART_CR1_FIFOEN); in LL_LPUART_DisableFIFO()
[all …]
Dstm32g0xx_ll_rcc.h2197 __STATIC_INLINE uint32_t LL_RCC_GetLPUARTClockSource(uint32_t LPUARTx) in LL_RCC_GetLPUARTClockSource() argument
2199 return (uint32_t)(READ_BIT(RCC->CCIPR, LPUARTx) | (LPUARTx << 16U)); in LL_RCC_GetLPUARTClockSource()
/hal_stm32-3.4.0/stm32cube/stm32h5xx/drivers/include/
Dstm32h5xx_ll_lpuart.h495 __STATIC_INLINE void LL_LPUART_Enable(USART_TypeDef *LPUARTx) in LL_LPUART_Enable() argument
497 SET_BIT(LPUARTx->CR1, USART_CR1_UE); in LL_LPUART_Enable()
514 __STATIC_INLINE void LL_LPUART_Disable(USART_TypeDef *LPUARTx) in LL_LPUART_Disable() argument
516 CLEAR_BIT(LPUARTx->CR1, USART_CR1_UE); in LL_LPUART_Disable()
525 __STATIC_INLINE uint32_t LL_LPUART_IsEnabled(const USART_TypeDef *LPUARTx) in LL_LPUART_IsEnabled() argument
527 return ((READ_BIT(LPUARTx->CR1, USART_CR1_UE) == (USART_CR1_UE)) ? 1UL : 0UL); in LL_LPUART_IsEnabled()
536 __STATIC_INLINE void LL_LPUART_EnableFIFO(USART_TypeDef *LPUARTx) in LL_LPUART_EnableFIFO() argument
538 SET_BIT(LPUARTx->CR1, USART_CR1_FIFOEN); in LL_LPUART_EnableFIFO()
547 __STATIC_INLINE void LL_LPUART_DisableFIFO(USART_TypeDef *LPUARTx) in LL_LPUART_DisableFIFO() argument
549 CLEAR_BIT(LPUARTx->CR1, USART_CR1_FIFOEN); in LL_LPUART_DisableFIFO()
[all …]
/hal_stm32-3.4.0/stm32cube/stm32l0xx/drivers/include/
Dstm32l0xx_ll_lpuart.h403 __STATIC_INLINE void LL_LPUART_Enable(USART_TypeDef *LPUARTx) in LL_LPUART_Enable() argument
405 SET_BIT(LPUARTx->CR1, USART_CR1_UE); in LL_LPUART_Enable()
422 __STATIC_INLINE void LL_LPUART_Disable(USART_TypeDef *LPUARTx) in LL_LPUART_Disable() argument
424 CLEAR_BIT(LPUARTx->CR1, USART_CR1_UE); in LL_LPUART_Disable()
433 __STATIC_INLINE uint32_t LL_LPUART_IsEnabled(const USART_TypeDef *LPUARTx) in LL_LPUART_IsEnabled() argument
435 return ((READ_BIT(LPUARTx->CR1, USART_CR1_UE) == (USART_CR1_UE)) ? 1UL : 0UL); in LL_LPUART_IsEnabled()
447 __STATIC_INLINE void LL_LPUART_EnableInStopMode(USART_TypeDef *LPUARTx) in LL_LPUART_EnableInStopMode() argument
449 ATOMIC_SET_BIT(LPUARTx->CR1, USART_CR1_UESM); in LL_LPUART_EnableInStopMode()
459 __STATIC_INLINE void LL_LPUART_DisableInStopMode(USART_TypeDef *LPUARTx) in LL_LPUART_DisableInStopMode() argument
461 ATOMIC_CLEAR_BIT(LPUARTx->CR1, USART_CR1_UESM); in LL_LPUART_DisableInStopMode()
[all …]
Dstm32l0xx_ll_rcc.h1602 __STATIC_INLINE uint32_t LL_RCC_GetLPUARTClockSource(uint32_t LPUARTx) in LL_RCC_GetLPUARTClockSource() argument
1604 return (uint32_t)(READ_BIT(RCC->CCIPR, LPUARTx)); in LL_RCC_GetLPUARTClockSource()
/hal_stm32-3.4.0/stm32cube/stm32g0xx/drivers/src/
Dstm32g0xx_ll_lpuart.c129 ErrorStatus LL_LPUART_DeInit(const USART_TypeDef *LPUARTx) in LL_LPUART_DeInit() argument
134 assert_param(IS_LPUART_INSTANCE(LPUARTx)); in LL_LPUART_DeInit()
136 if (LPUARTx == LPUART1) in LL_LPUART_DeInit()
145 else if (LPUARTx == LPUART2) in LL_LPUART_DeInit()
177 ErrorStatus LL_LPUART_Init(USART_TypeDef *LPUARTx, const LL_LPUART_InitTypeDef *LPUART_InitStruct) in LL_LPUART_Init() argument
187 assert_param(IS_LPUART_INSTANCE(LPUARTx)); in LL_LPUART_Init()
198 if (LL_LPUART_IsEnabled(LPUARTx) == 0U) in LL_LPUART_Init()
206 MODIFY_REG(LPUARTx->CR1, in LL_LPUART_Init()
214 LL_LPUART_SetStopBitsLength(LPUARTx, LPUART_InitStruct->StopBits); in LL_LPUART_Init()
221 LL_LPUART_SetHWFlowCtrl(LPUARTx, LPUART_InitStruct->HardwareFlowControl); in LL_LPUART_Init()
[all …]
/hal_stm32-3.4.0/stm32cube/stm32u5xx/drivers/src/
Dstm32u5xx_ll_lpuart.c132 ErrorStatus LL_LPUART_DeInit(const USART_TypeDef *LPUARTx) in LL_LPUART_DeInit() argument
137 assert_param(IS_LPUART_INSTANCE(LPUARTx)); in LL_LPUART_DeInit()
139 if (LPUARTx == LPUART1) in LL_LPUART_DeInit()
170 ErrorStatus LL_LPUART_Init(USART_TypeDef *LPUARTx, const LL_LPUART_InitTypeDef *LPUART_InitStruct) in LL_LPUART_Init() argument
176 assert_param(IS_LPUART_INSTANCE(LPUARTx)); in LL_LPUART_Init()
187 if (LL_LPUART_IsEnabled(LPUARTx) == 0U) in LL_LPUART_Init()
195 MODIFY_REG(LPUARTx->CR1, in LL_LPUART_Init()
203 LL_LPUART_SetStopBitsLength(LPUARTx, LPUART_InitStruct->StopBits); in LL_LPUART_Init()
210 LL_LPUART_SetHWFlowCtrl(LPUARTx, LPUART_InitStruct->HardwareFlowControl); in LL_LPUART_Init()
226 LL_LPUART_SetBaudRate(LPUARTx, in LL_LPUART_Init()
[all …]
/hal_stm32-3.4.0/stm32cube/stm32wlxx/drivers/src/
Dstm32wlxx_ll_lpuart.c129 ErrorStatus LL_LPUART_DeInit(const USART_TypeDef *LPUARTx) in LL_LPUART_DeInit() argument
134 assert_param(IS_LPUART_INSTANCE(LPUARTx)); in LL_LPUART_DeInit()
136 if (LPUARTx == LPUART1) in LL_LPUART_DeInit()
167 ErrorStatus LL_LPUART_Init(USART_TypeDef *LPUARTx, const LL_LPUART_InitTypeDef *LPUART_InitStruct) in LL_LPUART_Init() argument
173 assert_param(IS_LPUART_INSTANCE(LPUARTx)); in LL_LPUART_Init()
184 if (LL_LPUART_IsEnabled(LPUARTx) == 0U) in LL_LPUART_Init()
192 MODIFY_REG(LPUARTx->CR1, in LL_LPUART_Init()
200 LL_LPUART_SetStopBitsLength(LPUARTx, LPUART_InitStruct->StopBits); in LL_LPUART_Init()
207 LL_LPUART_SetHWFlowCtrl(LPUARTx, LPUART_InitStruct->HardwareFlowControl); in LL_LPUART_Init()
223 LL_LPUART_SetBaudRate(LPUARTx, in LL_LPUART_Init()
[all …]
/hal_stm32-3.4.0/stm32cube/stm32h5xx/drivers/src/
Dstm32h5xx_ll_lpuart.c132 ErrorStatus LL_LPUART_DeInit(const USART_TypeDef *LPUARTx) in LL_LPUART_DeInit() argument
137 assert_param(IS_LPUART_INSTANCE(LPUARTx)); in LL_LPUART_DeInit()
139 if (LPUARTx == LPUART1) in LL_LPUART_DeInit()
170 ErrorStatus LL_LPUART_Init(USART_TypeDef *LPUARTx, const LL_LPUART_InitTypeDef *LPUART_InitStruct) in LL_LPUART_Init() argument
176 assert_param(IS_LPUART_INSTANCE(LPUARTx)); in LL_LPUART_Init()
187 if (LL_LPUART_IsEnabled(LPUARTx) == 0U) in LL_LPUART_Init()
195 MODIFY_REG(LPUARTx->CR1, in LL_LPUART_Init()
203 LL_LPUART_SetStopBitsLength(LPUARTx, LPUART_InitStruct->StopBits); in LL_LPUART_Init()
210 LL_LPUART_SetHWFlowCtrl(LPUARTx, LPUART_InitStruct->HardwareFlowControl); in LL_LPUART_Init()
226 LL_LPUART_SetBaudRate(LPUARTx, in LL_LPUART_Init()
[all …]
/hal_stm32-3.4.0/stm32cube/stm32l5xx/drivers/src/
Dstm32l5xx_ll_lpuart.c132 ErrorStatus LL_LPUART_DeInit(const USART_TypeDef *LPUARTx) in LL_LPUART_DeInit() argument
137 assert_param(IS_LPUART_INSTANCE(LPUARTx)); in LL_LPUART_DeInit()
139 if (LPUARTx == LPUART1) in LL_LPUART_DeInit()
170 ErrorStatus LL_LPUART_Init(USART_TypeDef *LPUARTx, const LL_LPUART_InitTypeDef *LPUART_InitStruct) in LL_LPUART_Init() argument
176 assert_param(IS_LPUART_INSTANCE(LPUARTx)); in LL_LPUART_Init()
187 if (LL_LPUART_IsEnabled(LPUARTx) == 0U) in LL_LPUART_Init()
195 MODIFY_REG(LPUARTx->CR1, in LL_LPUART_Init()
203 LL_LPUART_SetStopBitsLength(LPUARTx, LPUART_InitStruct->StopBits); in LL_LPUART_Init()
210 LL_LPUART_SetHWFlowCtrl(LPUARTx, LPUART_InitStruct->HardwareFlowControl); in LL_LPUART_Init()
226 LL_LPUART_SetBaudRate(LPUARTx, in LL_LPUART_Init()
[all …]
/hal_stm32-3.4.0/stm32cube/stm32wbxx/drivers/src/
Dstm32wbxx_ll_lpuart.c129 ErrorStatus LL_LPUART_DeInit(const USART_TypeDef *LPUARTx) in LL_LPUART_DeInit() argument
134 assert_param(IS_LPUART_INSTANCE(LPUARTx)); in LL_LPUART_DeInit()
136 if (LPUARTx == LPUART1) in LL_LPUART_DeInit()
167 ErrorStatus LL_LPUART_Init(USART_TypeDef *LPUARTx, const LL_LPUART_InitTypeDef *LPUART_InitStruct) in LL_LPUART_Init() argument
173 assert_param(IS_LPUART_INSTANCE(LPUARTx)); in LL_LPUART_Init()
184 if (LL_LPUART_IsEnabled(LPUARTx) == 0U) in LL_LPUART_Init()
192 MODIFY_REG(LPUARTx->CR1, in LL_LPUART_Init()
200 LL_LPUART_SetStopBitsLength(LPUARTx, LPUART_InitStruct->StopBits); in LL_LPUART_Init()
207 LL_LPUART_SetHWFlowCtrl(LPUARTx, LPUART_InitStruct->HardwareFlowControl); in LL_LPUART_Init()
223 LL_LPUART_SetBaudRate(LPUARTx, in LL_LPUART_Init()
[all …]
/hal_stm32-3.4.0/stm32cube/stm32g4xx/drivers/src/
Dstm32g4xx_ll_lpuart.c129 ErrorStatus LL_LPUART_DeInit(USART_TypeDef *LPUARTx) in LL_LPUART_DeInit() argument
134 assert_param(IS_LPUART_INSTANCE(LPUARTx)); in LL_LPUART_DeInit()
136 if (LPUARTx == LPUART1) in LL_LPUART_DeInit()
167 ErrorStatus LL_LPUART_Init(USART_TypeDef *LPUARTx, LL_LPUART_InitTypeDef *LPUART_InitStruct) in LL_LPUART_Init() argument
173 assert_param(IS_LPUART_INSTANCE(LPUARTx)); in LL_LPUART_Init()
184 if (LL_LPUART_IsEnabled(LPUARTx) == 0U) in LL_LPUART_Init()
192 MODIFY_REG(LPUARTx->CR1, in LL_LPUART_Init()
200 LL_LPUART_SetStopBitsLength(LPUARTx, LPUART_InitStruct->StopBits); in LL_LPUART_Init()
207 LL_LPUART_SetHWFlowCtrl(LPUARTx, LPUART_InitStruct->HardwareFlowControl); in LL_LPUART_Init()
223 LL_LPUART_SetBaudRate(LPUARTx, in LL_LPUART_Init()
[all …]
/hal_stm32-3.4.0/stm32cube/stm32l4xx/drivers/src/
Dstm32l4xx_ll_lpuart.c131 ErrorStatus LL_LPUART_DeInit(const USART_TypeDef *LPUARTx) in LL_LPUART_DeInit() argument
136 assert_param(IS_LPUART_INSTANCE(LPUARTx)); in LL_LPUART_DeInit()
138 if (LPUARTx == LPUART1) in LL_LPUART_DeInit()
169 ErrorStatus LL_LPUART_Init(USART_TypeDef *LPUARTx, const LL_LPUART_InitTypeDef *LPUART_InitStruct) in LL_LPUART_Init() argument
175 assert_param(IS_LPUART_INSTANCE(LPUARTx)); in LL_LPUART_Init()
188 if (LL_LPUART_IsEnabled(LPUARTx) == 0U) in LL_LPUART_Init()
196 MODIFY_REG(LPUARTx->CR1, in LL_LPUART_Init()
204 LL_LPUART_SetStopBitsLength(LPUARTx, LPUART_InitStruct->StopBits); in LL_LPUART_Init()
211 LL_LPUART_SetHWFlowCtrl(LPUARTx, LPUART_InitStruct->HardwareFlowControl); in LL_LPUART_Init()
229 LL_LPUART_SetBaudRate(LPUARTx, in LL_LPUART_Init()
[all …]
/hal_stm32-3.4.0/stm32cube/stm32h7xx/drivers/src/
Dstm32h7xx_ll_lpuart.c132 ErrorStatus LL_LPUART_DeInit(const USART_TypeDef *LPUARTx) in LL_LPUART_DeInit() argument
137 assert_param(IS_LPUART_INSTANCE(LPUARTx)); in LL_LPUART_DeInit()
139 if (LPUARTx == LPUART1) in LL_LPUART_DeInit()
170 ErrorStatus LL_LPUART_Init(USART_TypeDef *LPUARTx, const LL_LPUART_InitTypeDef *LPUART_InitStruct) in LL_LPUART_Init() argument
176 assert_param(IS_LPUART_INSTANCE(LPUARTx)); in LL_LPUART_Init()
187 if (LL_LPUART_IsEnabled(LPUARTx) == 0U) in LL_LPUART_Init()
195 MODIFY_REG(LPUARTx->CR1, in LL_LPUART_Init()
203 LL_LPUART_SetStopBitsLength(LPUARTx, LPUART_InitStruct->StopBits); in LL_LPUART_Init()
210 LL_LPUART_SetHWFlowCtrl(LPUARTx, LPUART_InitStruct->HardwareFlowControl); in LL_LPUART_Init()
226 LL_LPUART_SetBaudRate(LPUARTx, in LL_LPUART_Init()
[all …]
/hal_stm32-3.4.0/stm32cube/stm32l0xx/drivers/src/
Dstm32l0xx_ll_lpuart.c119 ErrorStatus LL_LPUART_DeInit(const USART_TypeDef *LPUARTx) in LL_LPUART_DeInit() argument
124 assert_param(IS_LPUART_INSTANCE(LPUARTx)); in LL_LPUART_DeInit()
126 if (LPUARTx == LPUART1) in LL_LPUART_DeInit()
157 ErrorStatus LL_LPUART_Init(USART_TypeDef *LPUARTx, const LL_LPUART_InitTypeDef *LPUART_InitStruct) in LL_LPUART_Init() argument
163 assert_param(IS_LPUART_INSTANCE(LPUARTx)); in LL_LPUART_Init()
173 if (LL_LPUART_IsEnabled(LPUARTx) == 0U) in LL_LPUART_Init()
181 MODIFY_REG(LPUARTx->CR1, in LL_LPUART_Init()
189 LL_LPUART_SetStopBitsLength(LPUARTx, LPUART_InitStruct->StopBits); in LL_LPUART_Init()
196 LL_LPUART_SetHWFlowCtrl(LPUARTx, LPUART_InitStruct->HardwareFlowControl); in LL_LPUART_Init()
211 LL_LPUART_SetBaudRate(LPUARTx, in LL_LPUART_Init()
[all …]

12