Macros
Common Write and read registers Macros
Peripheral Driver » LL Driver » UART » Defines » UART Exported Macros

## Macros
#define | LL_UART_WriteReg(__instance__, __REG__, __VALUE__) WRITE_REG(__instance__->__REG__, (__VALUE__))
| Write a value in UART register. More...
#define | LL_UART_ReadReg(__instance__, __REG__) READ_REG(__instance__->__REG__)
| Read a value in UART register. More...

## Detailed Description

## Macro Definition Documentation

## ◆ LL_UART_ReadReg

#define LL_UART_ReadReg | ( |  | __instance__,
|  |  | __REG__
| ) |  | READ_REG(__instance__->__REG__)

Read a value in UART register.

Parameters

  __instance__ | UART instance
  __REG__ | Register to be read

Return values

  Register | value

Definition at line 261 of file gr55xx_ll_uart.h.

## ◆ LL_UART_WriteReg

#define LL_UART_WriteReg | ( |  | __instance__,
|  |  | __REG__,
|  |  | __VALUE__
| ) |  | WRITE_REG(__instance__->__REG__, (__VALUE__))

Write a value in UART register.

Parameters

  __instance__ | UART instance
  __REG__ | Register to be written
  __VALUE__ | Value to be written in the register

Return values

  None |

Definition at line 253 of file gr55xx_ll_uart.h.