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

Functions

__STATIC_INLINE void LL_COMP_SetCommonWindowMode (COMP_Common_TypeDef *COMPxy_COMMON, uint32_t WindowMode)
 Set window mode of a pair of comparators instances (2 consecutive COMP instances odd and even COMP<x> and COMP<x+1>).
__STATIC_INLINE uint32_t LL_COMP_GetCommonWindowMode (COMP_Common_TypeDef *COMPxy_COMMON)
 Get window mode of a pair of comparators instances (2 consecutive COMP instances odd and even COMP<x> and COMP<x+1>).

Function Documentation

__STATIC_INLINE uint32_t LL_COMP_GetCommonWindowMode ( COMP_Common_TypeDef *  COMPxy_COMMON)

Get window mode of a pair of comparators instances (2 consecutive COMP instances odd and even COMP<x> and COMP<x+1>).

Reference Manual to LL API cross reference:
CSR WINMODE LL_COMP_GetCommonWindowMode
Parameters:
COMPxy_COMMONComparator common instance (can be set directly from CMSIS definition or by using helper macro __LL_COMP_COMMON_INSTANCE() )
Return values:
Returnedvalue can be one of the following values:

Definition at line 381 of file stm32l4xx_ll_comp.h.

__STATIC_INLINE void LL_COMP_SetCommonWindowMode ( COMP_Common_TypeDef *  COMPxy_COMMON,
uint32_t  WindowMode 
)

Set window mode of a pair of comparators instances (2 consecutive COMP instances odd and even COMP<x> and COMP<x+1>).

Reference Manual to LL API cross reference:
CSR WINMODE LL_COMP_SetCommonWindowMode
Parameters:
COMPxy_COMMONComparator common instance (can be set directly from CMSIS definition or by using helper macro __LL_COMP_COMMON_INSTANCE() )
WindowModeThis parameter can be one of the following values:
Return values:
None

Definition at line 364 of file stm32l4xx_ll_comp.h.