Macros
Common Write and read registers Macros
Peripheral Driver » LL Driver » UART » Defines » UART Exported Macros
Collaboration diagram for Common Write and read registers 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

  <strong>instance</strong> | UART instance
  <strong>REG</strong> | Register to be read

Return values

  Register | value

Definition at line 263 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

  <strong>instance</strong> | UART instance
  <strong>REG</strong> | Register to be written
  <strong>VALUE</strong> | Value to be written in the register

Return values

  None |

Definition at line 255 of file gr55xx_ll_uart.h.