STM32L486xx HAL User Manual
Functions
Configuration of comparator output
COMP Exported Functions

Functions

__STATIC_INLINE void LL_COMP_SetOutputPolarity (COMP_TypeDef *COMPx, uint32_t OutputPolarity)
 Set comparator instance output polarity.
__STATIC_INLINE uint32_t LL_COMP_GetOutputPolarity (COMP_TypeDef *COMPx)
 Get comparator instance output polarity.
__STATIC_INLINE void LL_COMP_SetOutputBlankingSource (COMP_TypeDef *COMPx, uint32_t BlankingSource)
 Set comparator instance blanking source.
__STATIC_INLINE uint32_t LL_COMP_GetOutputBlankingSource (COMP_TypeDef *COMPx)
 Get comparator instance blanking source.

Function Documentation

__STATIC_INLINE uint32_t LL_COMP_GetOutputBlankingSource ( COMP_TypeDef *  COMPx)

Get comparator instance blanking source.

Note:
Availability of parameters of blanking source from timer depends on timers availability on the selected device.
Blanking source may be specific to each comparator instance. Refer to description of parameters or to reference manual.
Reference Manual to LL API cross reference:
CSR BLANKING LL_COMP_GetOutputBlankingSource
Parameters:
COMPxComparator instance
Return values:
Returnedvalue can be one of the following values: (1) Parameter availability depending on timer availability on the selected device. (2) On STM32L4, parameter available only on comparator instance: COMP1. (3) On STM32L4, parameter available only on comparator instance: COMP2.

Definition at line 722 of file stm32l4xx_ll_comp.h.

__STATIC_INLINE uint32_t LL_COMP_GetOutputPolarity ( COMP_TypeDef *  COMPx)

Get comparator instance output polarity.

Reference Manual to LL API cross reference:
CSR POLARITY LL_COMP_GetOutputPolarity
Parameters:
COMPxComparator instance
Return values:
Returnedvalue can be one of the following values:

Definition at line 667 of file stm32l4xx_ll_comp.h.

__STATIC_INLINE void LL_COMP_SetOutputBlankingSource ( COMP_TypeDef *  COMPx,
uint32_t  BlankingSource 
)

Set comparator instance blanking source.

Note:
Blanking source may be specific to each comparator instance. Refer to description of parameters or to reference manual.
Availability of parameters of blanking source from timer depends on timers availability on the selected device.
Reference Manual to LL API cross reference:
CSR BLANKING LL_COMP_SetOutputBlankingSource
Parameters:
COMPxComparator instance
BlankingSourceThis parameter can be one of the following values: (1) Parameter availability depending on timer availability on the selected device. (2) On STM32L4, parameter available only on comparator instance: COMP1. (3) On STM32L4, parameter available only on comparator instance: COMP2.
Return values:
None

Definition at line 695 of file stm32l4xx_ll_comp.h.

__STATIC_INLINE void LL_COMP_SetOutputPolarity ( COMP_TypeDef *  COMPx,
uint32_t  OutputPolarity 
)

Set comparator instance output polarity.

Reference Manual to LL API cross reference:
CSR POLARITY LL_COMP_SetOutputPolarity
Parameters:
COMPxComparator instance
OutputPolarityThis parameter can be one of the following values:
Return values:
None

Definition at line 654 of file stm32l4xx_ll_comp.h.