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

Defines

#define LL_OPAMP_WriteReg(__INSTANCE__, __REG__, __VALUE__)   WRITE_REG(__INSTANCE__->__REG__, (__VALUE__))
 Write a value in OPAMP register.
#define LL_OPAMP_ReadReg(__INSTANCE__, __REG__)   READ_REG(__INSTANCE__->__REG__)
 Read a value in OPAMP register.

Define Documentation

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

Read a value in OPAMP register.

Parameters:
__INSTANCE__OPAMP Instance
__REG__Register to be read
Return values:
Registervalue

Definition at line 310 of file stm32l4xx_ll_opamp.h.

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

Write a value in OPAMP register.

Parameters:
__INSTANCE__OPAMP Instance
__REG__Register to be written
__VALUE__Value to be written in the register
Return values:
None

Definition at line 302 of file stm32l4xx_ll_opamp.h.

Referenced by LL_OPAMP_DeInit().