Macros
Common write and read registers Macros
Peripheral Driver » LL Driver » PWR » Functions
Collaboration diagram for Common write and read registers Macros:

## Macros
#define | LL_PWR_WriteReg(__REG__, __VALUE__) WRITE_REG(AON->__REG__, (__VALUE__))
| Write a value in PWR register. More...
#define | LL_PWR_ReadReg(__REG__) READ_REG(AON->__REG__)
| Read a value in PWR register. More...

## Detailed Description

## Macro Definition Documentation

## ◆ LL_PWR_ReadReg

#define LL_PWR_ReadReg | ( |  | __REG__ | ) | READ_REG(AON->__REG__)

Read a value in PWR register.

Parameters

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

Return values

  Register | value

Definition at line 232 of file gr55xx_ll_pwr.h.

## ◆ LL_PWR_WriteReg

#define LL_PWR_WriteReg | ( |  | __REG__,
|  |  | __VALUE__
| ) |  | WRITE_REG(AON->__REG__, (__VALUE__))

Write a value in PWR register.

Parameters

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

Return values

  None |

Definition at line 225 of file gr55xx_ll_pwr.h.