STM32L486xx HAL User Manual
Defines
Common write and read registers macro
COMP Exported Macros

Defines

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

Define Documentation

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

Read a value in COMP register.

Parameters:
__INSTANCE__comparator instance
__REG__Register to be read
Return values:
Registervalue

Definition at line 315 of file stm32l4xx_ll_comp.h.

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

Write a value in COMP register.

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

Definition at line 307 of file stm32l4xx_ll_comp.h.

Referenced by LL_COMP_DeInit().