Macros
Common Write and read registers Macros
Peripheral Driver » LL Driver » HMAC » Defines » HMAC Exported Macros

## Macros
#define | LL_HMAC_WriteReg(__INSTANCE__, __REG__, __VALUE__) WRITE_REG(__INSTANCE__->__REG__, (__VALUE__))
| Write a value in HMAC register. More...
#define | LL_HMAC_ReadReg(__INSTANCE__, __REG__) READ_REG(__INSTANCE__->__REG__)
| Read a value in HMAC register. More...

## Detailed Description

## Macro Definition Documentation

## ◆ LL_HMAC_ReadReg

#define LL_HMAC_ReadReg | ( |  | __INSTANCE__,
|  |  | __REG__
| ) |  | READ_REG(__INSTANCE__->__REG__)

Read a value in HMAC register.

Parameters

  <strong>INSTANCE</strong> | HMAC Instance
  <strong>REG</strong> | Register to be read

Return values

  Register | value

## ◆ LL_HMAC_WriteReg

#define LL_HMAC_WriteReg | ( |  | __INSTANCE__,
|  |  | __REG__,
|  |  | __VALUE__
| ) |  | WRITE_REG(__INSTANCE__->__REG__, (__VALUE__))

Write a value in HMAC register.

Parameters

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

Return values

  None |