STM32H735xx 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.
__STATIC_INLINE void LL_COMP_SetOutputAlternateFunction (COMP_TypeDef *COMPx, uint32_t CompAFx)
 Set the output alternate function in the Option register in order to be used with the alternate function of the timer break input.
__STATIC_INLINE uint32_t LL_COMP_GetOutputAlternateFunction (COMP_TypeDef *COMPx)
 Get the output alternate function from the Option register.

Function Documentation

__STATIC_INLINE uint32_t LL_COMP_GetOutputAlternateFunction ( COMP_TypeDef *  COMPx)

Get the output alternate function from the Option register.

Reference Manual to LL API cross reference:
OR AFOP COMP_LL_EC_OUTPUT_BKIN_TIMER
Parameters:
COMPxspecifies the Comparator instance.
Return values:
Returnedvalue can be one of the following values:

Definition at line 703 of file stm32h7xx_ll_comp.h.

__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:
CFGR BLANKING LL_COMP_GetOutputBlankingSource
Parameters:
COMPxComparator instance
Return values:
Returnedvalue can be one of the following values:

Definition at line 657 of file stm32h7xx_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:
CFGRx POLARITY LL_COMP_GetOutputPolarity
Parameters:
COMPxComparator instance
Return values:
Returnedvalue can be one of the following values:

Definition at line 612 of file stm32h7xx_ll_comp.h.

__STATIC_INLINE void LL_COMP_SetOutputAlternateFunction ( COMP_TypeDef *  COMPx,
uint32_t  CompAFx 
)

Set the output alternate function in the Option register in order to be used with the alternate function of the timer break input.

Reference Manual to LL API cross reference:
OR AFOP COMP_LL_EC_OUTPUT_BKIN_TIMER
Parameters:
COMPxspecifies the instance.
CompAFxspecifies the Alternate Function source selection. This parameter can be one of the following values:
Return values:
None

Definition at line 682 of file stm32h7xx_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:
CFGR BLANKING LL_COMP_SetOutputBlankingSource
Parameters:
COMPxComparator instance
BlankingSourceThis parameter can be one of the following values:
Return values:
None

Definition at line 635 of file stm32h7xx_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:
CFGRx POLARITY LL_COMP_SetOutputPolarity
Parameters:
COMPxComparator instance
OutputPolarityThis parameter can be one of the following values:
Return values:
None

Definition at line 599 of file stm32h7xx_ll_comp.h.