STM32L486xx HAL User Manual
Defines
OPAMP helper macro
OPAMP Exported Macros

Defines

#define __LL_OPAMP_COMMON_INSTANCE(__OPAMPx__)   (OPAMP12_COMMON)
 Helper macro to select the OPAMP common instance to which is belonging the selected OPAMP instance.
#define __LL_OPAMP_IS_ENABLED_ALL_COMMON_INSTANCE()
 Helper macro to check if all OPAMP instances sharing the same OPAMP common instance are disabled.

Define Documentation

#define __LL_OPAMP_COMMON_INSTANCE (   __OPAMPx__)    (OPAMP12_COMMON)

Helper macro to select the OPAMP common instance to which is belonging the selected OPAMP instance.

Note:
OPAMP common register instance can be used to set parameters common to several OPAMP instances. Refer to functions having argument "OPAMPxy_COMMON" as parameter.
Parameters:
__OPAMPx__OPAMP instance
Return values:
OPAMPcommon instance

Definition at line 329 of file stm32l4xx_ll_opamp.h.

Value:
(LL_OPAMP_IsEnabled(OPAMP1) |                                                \
   LL_OPAMP_IsEnabled(OPAMP2)  )

Helper macro to check if all OPAMP instances sharing the same OPAMP common instance are disabled.

Note:
This check is required by functions with setting conditioned to OPAMP state: All OPAMP instances of the OPAMP common group must be disabled. Refer to functions having argument "OPAMPxy_COMMON" as parameter.
Return values:
0,:All OPAMP instances sharing the same OPAMP common instance are disabled. 1: At least one OPAMP instance sharing the same OPAMP common instance is enabled

Definition at line 349 of file stm32l4xx_ll_opamp.h.