STM32L486xx HAL User Manual
Functions
Configuration of OPAMP hierarchical scope: common to several OPAMP instances
OPAMP Exported Functions

Functions

__STATIC_INLINE void LL_OPAMP_SetCommonPowerRange (OPAMP_Common_TypeDef *OPAMPxy_COMMON, uint32_t PowerRange)
 Set OPAMP power range.
__STATIC_INLINE uint32_t LL_OPAMP_GetCommonPowerRange (OPAMP_Common_TypeDef *OPAMPxy_COMMON)
 Get OPAMP power range.

Function Documentation

__STATIC_INLINE uint32_t LL_OPAMP_GetCommonPowerRange ( OPAMP_Common_TypeDef *  OPAMPxy_COMMON)

Get OPAMP power range.

Note:
The OPAMP power range applies to several OPAMP instances (if several OPAMP instances available on the selected device).
Reference Manual to LL API cross reference:
CSR OPARANGE LL_OPAMP_GetCommonPowerRange
Parameters:
OPAMPxy_COMMONOPAMP common instance (can be set directly from CMSIS definition or by using helper macro __LL_OPAMP_COMMON_INSTANCE() )
Return values:
Returnedvalue can be one of the following values:

Definition at line 408 of file stm32l4xx_ll_opamp.h.

__STATIC_INLINE void LL_OPAMP_SetCommonPowerRange ( OPAMP_Common_TypeDef *  OPAMPxy_COMMON,
uint32_t  PowerRange 
)

Set OPAMP power range.

Note:
The OPAMP power range applies to several OPAMP instances (if several OPAMP instances available on the selected device).
On this STM32 serie, setting of this feature is conditioned to OPAMP state: All OPAMP instances of the OPAMP common group must be disabled. This check can be done with function LL_OPAMP_IsEnabled() for each OPAMP instance or by using helper macro __LL_OPAMP_IS_ENABLED_ALL_COMMON_INSTANCE().
Reference Manual to LL API cross reference:
CSR OPARANGE LL_OPAMP_SetCommonPowerRange
Parameters:
OPAMPxy_COMMONOPAMP common instance (can be set directly from CMSIS definition or by using helper macro __LL_OPAMP_COMMON_INSTANCE() )
PowerRangeThis parameter can be one of the following values:
Return values:
None

Definition at line 392 of file stm32l4xx_ll_opamp.h.