STM32H735xx HAL User Manual
Modules | Defines
COMP Exported Macros
COMP

Modules

 COMP Handle Management
 COMP external interrupt line management

Defines

#define __HAL_COMP_ENABLE_OR(__AF__)   SET_BIT(COMP12->OR, (__AF__))
 Enable the specified bit in the Option register.
#define __HAL_COMP_DISABLE_OR(__AF__)   CLEAR_BIT(COMP12->OR, (__AF__))
 Disable the specified bit in the Option register.

Define Documentation

#define __HAL_COMP_DISABLE_OR (   __AF__)    CLEAR_BIT(COMP12->OR, (__AF__))

Disable the specified bit in the Option register.

Parameters:
__AF__,:specifies the Alternate Function source selection . This parameter can be one of the following values:
  • COMP_OR_AFOPA6 : Alternate Function PA6 source selection
  • COMP_OR_AFOPA8 : Alternate Function PA8 source selection
  • COMP_OR_AFOPB12 : Alternate Function PB12 source selection
  • COMP_OR_AFOPE6 : Alternate Function PE6 source selection
  • COMP_OR_AFOPE15 : Alternate Function PE15 source selection
  • COMP_OR_AFOPG2 : Alternate Function PG2 source selection
  • COMP_OR_AFOPG3 : Alternate Function PG3 source selection
  • COMP_OR_AFOPG4 : Alternate Function PG4 source selection
  • COMP_OR_AFOPI1 : Alternate Function PI1 source selection
  • COMP_OR_AFOPI4 : Alternate Function PI4 source selection
  • COMP_OR_AFOPK2 : Alternate Function PK2 source selection
Return values:
None

Definition at line 750 of file stm32h7xx_hal_comp.h.

#define __HAL_COMP_ENABLE_OR (   __AF__)    SET_BIT(COMP12->OR, (__AF__))

Enable the specified bit in the Option register.

Parameters:
__AF__,:specifies the Alternate Function source selection . This parameter can be one of the following values:
  • COMP_OR_AFOPA6 : Alternate Function PA6 source selection
  • COMP_OR_AFOPA8 : Alternate Function PA8 source selection
  • COMP_OR_AFOPB12 : Alternate Function PB12 source selection
  • COMP_OR_AFOPE6 : Alternate Function PE6 source selection
  • COMP_OR_AFOPE15 : Alternate Function PE15 source selection
  • COMP_OR_AFOPG2 : Alternate Function PG2 source selection
  • COMP_OR_AFOPG3 : Alternate Function PG3 source selection
  • COMP_OR_AFOPG4 : Alternate Function PG4 source selection
  • COMP_OR_AFOPI1 : Alternate Function PI1 source selection
  • COMP_OR_AFOPI4 : Alternate Function PI4 source selection
  • COMP_OR_AFOPK2 : Alternate Function PK2 source selection
Return values:
None

Definition at line 732 of file stm32h7xx_hal_comp.h.