Macros
Common write and read registers Macros
Peripheral Driver » LL Driver » PWR » Functions

## 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

## ◆ 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 |