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

## Macros
#define | LL_TIMER_WriteReg(__instance__, __REG__, __VALUE__) WRITE_REG(__instance__->__REG__, (__VALUE__))
| Write a value in TIMER register. More...
#define | LL_TIMER_ReadReg(__instance__, __REG__) READ_REG(__instance__->__REG__)
| Read a value in TIMER register. More...

## Detailed Description

## Macro Definition Documentation

## ◆ LL_TIMER_ReadReg

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

Read a value in TIMER register.

Parameters

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

Return values

  Register | value

Definition at line 137 of file gr55xx_ll_tim.h.

## ◆ LL_TIMER_WriteReg

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

Write a value in TIMER register.

Parameters

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

Return values

  None |

Definition at line 129 of file gr55xx_ll_tim.h.