Common Write and read registers Macros

Macros

#define LL_COMP_WriteReg(__instance__, __REG__, __VALUE__)   WRITE_REG((__instance__)->__REG__, (__VALUE__))
 Write a value in COMP register. More...
 
#define LL_COMP_ReadReg(__instance__, __REG__)   READ_REG((__instance__)->__REG__)
 Read a value in COMP register. More...
 

Detailed Description

Macro Definition Documentation

◆ LL_COMP_ReadReg

#define LL_COMP_ReadReg (   __instance__,
  __REG__ 
)    READ_REG((__instance__)->__REG__)

Read a value in COMP register.

Parameters
__instance__COMP instance
__REG__Register to be read
Return values
Registervalue

Definition at line 157 of file gr55xx_ll_comp.h.

◆ LL_COMP_WriteReg

#define LL_COMP_WriteReg (   __instance__,
  __REG__,
  __VALUE__ 
)    WRITE_REG((__instance__)->__REG__, (__VALUE__))

Write a value in COMP register.

Parameters
__instance__COMP instance
__REG__Register to be written
__VALUE__Value to be written in the register
Return values
None

Definition at line 149 of file gr55xx_ll_comp.h.