Macros
Common Write and read registers Macros
Peripheral Driver » LL Driver » DMA » Defines » DMA Exported Macros
Collaboration diagram for Common Write and read registers Macros:

## Macros
#define | LL_DMA_WriteReg(__instance__, __REG__, __VALUE__) WRITE_REG(__instance__.__REG__, (__VALUE__))
| Write a value in DMA register. More...
#define | LL_DMA_ReadReg(__instance__, __REG__) READ_REG(__instance__.__REG__)
| Read a value in DMA register. More...

## Detailed Description

## Macro Definition Documentation

## ◆ LL_DMA_ReadReg

#define LL_DMA_ReadReg | ( |  | __instance__,
|  |  | __REG__
| ) |  | READ_REG(__instance__.__REG__)

Read a value in DMA register.

Parameters

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

Return values

  Register | value

Definition at line 416 of file gr55xx_ll_dma.h.

## ◆ LL_DMA_WriteReg

#define LL_DMA_WriteReg | ( |  | __instance__,
|  |  | __REG__,
|  |  | __VALUE__
| ) |  | WRITE_REG(__instance__.__REG__, (__VALUE__))

Write a value in DMA register.

Parameters

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

Return values

  None |

Definition at line 408 of file gr55xx_ll_dma.h.