Functions
Initialization and de-initialization functions
Peripheral Driver » LL Driver » UART » Functions

## Functions
error_status_t | ll_uart_deinit (uart_regs_t *UARTx)
| De-initialize UART registers (Registers restored to their default values). More...
error_status_t | ll_uart_init (uart_regs_t *UARTx, ll_uart_init_t *p_uart_init)
| Initialize UART registers according to the specified parameters in p_uart_init. More...
void | ll_uart_struct_init (ll_uart_init_t *p_uart_init)
| Set each field of a ll_uart_init_t type structure to default value. More...

## Detailed Description

## Function Documentation

## ◆ ll_uart_deinit()

error_status_t ll_uart_deinit | ( | uart_regs_t * | UARTx | ) |

De-initialize UART registers (Registers restored to their default values).

Parameters

  UARTx | UART instance

Return values

  An | error_status_t enumeration value: SUCCESS: UART registers are de-initialized ERROR: UART registers are not de-initialized

## ◆ ll_uart_init()

error_status_t ll_uart_init | ( | uart_regs_t * | UARTx,
|  | ll_uart_init_t * | p_uart_init
| ) |  |

Initialize UART registers according to the specified parameters in p_uart_init.

Parameters

  UARTx | UART instance
  p_uart_init | Pointer to a ll_uart_init_t structure that contains the configuration information for the specified UART peripheral.

Return values

  An | error_status_t enumeration value: SUCCESS: UART registers are initialized according to p_uart_init content ERROR: Problem occurred during UART Registers initialization

## ◆ ll_uart_struct_init()

void ll_uart_struct_init | ( | ll_uart_init_t * | p_uart_init | ) |

Set each field of a ll_uart_init_t type structure to default value.

Parameters

  p_uart_init | Pointer to a ll_uart_init_t structure whose fields will be set to default values.

Return values

  None |