Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of TUKS-COURSE-TIMER by
Initialization and de-initialization functions
[LPUART Exported Functions]
Functions | |
ErrorStatus | LL_LPUART_DeInit (USART_TypeDef *LPUARTx) |
De-initialize LPUART registers (Registers restored to their default values). | |
ErrorStatus | LL_LPUART_Init (USART_TypeDef *LPUARTx, LL_LPUART_InitTypeDef *LPUART_InitStruct) |
Initialize LPUART registers according to the specified parameters in LPUART_InitStruct. | |
void | LL_LPUART_StructInit (LL_LPUART_InitTypeDef *LPUART_InitStruct) |
Set each LL_LPUART_InitTypeDef field to default value. |
Function Documentation
ErrorStatus LL_LPUART_DeInit | ( | USART_TypeDef * | LPUARTx ) |
De-initialize LPUART registers (Registers restored to their default values).
- Parameters:
-
LPUARTx LPUART Instance
- Return values:
-
An ErrorStatus enumeration value: - SUCCESS: LPUART registers are de-initialized
- ERROR: not applicable
Definition at line 129 of file stm32l4xx_ll_lpuart.c.
ErrorStatus LL_LPUART_Init | ( | USART_TypeDef * | LPUARTx, |
LL_LPUART_InitTypeDef * | LPUART_InitStruct | ||
) |
Initialize LPUART registers according to the specified parameters in LPUART_InitStruct.
- Note:
- As some bits in LPUART configuration registers can only be written when the LPUART is disabled (USART_CR1_UE bit =0), LPUART IP should be in disabled state prior calling this function. Otherwise, ERROR result will be returned.
- Baud rate value stored in LPUART_InitStruct BaudRate field, should be valid (different from 0).
- Parameters:
-
LPUARTx LPUART Instance LPUART_InitStruct pointer to a LL_LPUART_InitTypeDef structure that contains the configuration information for the specified LPUART peripheral.
- Return values:
-
An ErrorStatus enumeration value: - SUCCESS: LPUART registers are initialized according to LPUART_InitStruct content
- ERROR: Problem occurred during LPUART Registers initialization
Definition at line 158 of file stm32l4xx_ll_lpuart.c.
void LL_LPUART_StructInit | ( | LL_LPUART_InitTypeDef * | LPUART_InitStruct ) |
Set each LL_LPUART_InitTypeDef field to default value.
- Parameters:
-
LPUART_InitStruct pointer to a LL_LPUART_InitTypeDef structure whose fields will be set to default values.
- Return values:
-
None
Definition at line 227 of file stm32l4xx_ll_lpuart.c.
Generated on Tue Jul 12 2022 17:38:57 by
