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

## Macros
#define | LL_ADC_WriteReg(__instance__, __REG__, __VALUE__) WRITE_REG((__instance__)->__REG__, (__VALUE__))
| Write a value in ADC register. More...
#define | LL_ADC_ReadReg(__instance__, __REG__) READ_REG((__instance__)->__REG__)
| Read a value in ADC register. More...

## Detailed Description

## Macro Definition Documentation

## ◆ LL_ADC_ReadReg

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

Read a value in ADC register.

Parameters

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

Return values

  Register | value

Definition at line 201 of file gr55xx_ll_adc.h.

## ◆ LL_ADC_WriteReg

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

Write a value in ADC register.

Parameters

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

Return values

  None |

Definition at line 193 of file gr55xx_ll_adc.h.