STM32L443xx HAL User Manual
Defines
OPAMP Private Macros
OPAMP

Defines

#define IS_OPAMP_FUNCTIONAL_NORMALMODE(INPUT)
#define IS_OPAMP_INVERTING_INPUT_STANDALONE(INPUT)   ((INPUT) == OPAMP_INVERTINGINPUT_IO0)
#define IS_OPAMP_NONINVERTING_INPUT(INPUT)
#define IS_OPAMP_INVERTING_INPUT_PGA(INPUT)
#define IS_OPAMP_PGA_GAIN(GAIN)
#define IS_OPAMP_POWERMODE(TRIMMING)
#define IS_OPAMP_POWER_SUPPLY_RANGE(RANGE)
#define IS_OPAMP_TRIMMING(TRIMMING)
#define IS_OPAMP_TRIMMINGVALUE(TRIMMINGVALUE)   ((TRIMMINGVALUE) <= 31U)
#define IS_OPAMP_FACTORYTRIMMING(TRIMMING)

Define Documentation

#define IS_OPAMP_FACTORYTRIMMING (   TRIMMING)
Value:
(((TRIMMING) == OPAMP_FACTORYTRIMMING_N) || \
                                             ((TRIMMING) == OPAMP_FACTORYTRIMMING_P))

Definition at line 397 of file stm32l4xx_hal_opamp.h.

Referenced by HAL_OPAMP_GetTrimOffset().

#define IS_OPAMP_FUNCTIONAL_NORMALMODE (   INPUT)
Value:
(((INPUT) == OPAMP_STANDALONE_MODE) || \
                                               ((INPUT) == OPAMP_PGA_MODE) || \
                                               ((INPUT) == OPAMP_FOLLOWER_MODE))

Definition at line 317 of file stm32l4xx_hal_opamp.h.

Referenced by HAL_OPAMP_Init().

#define IS_OPAMP_INVERTING_INPUT_PGA (   INPUT)
Value:

Definition at line 374 of file stm32l4xx_hal_opamp.h.

Referenced by HAL_OPAMP_Init().

#define IS_OPAMP_INVERTING_INPUT_STANDALONE (   INPUT)    ((INPUT) == OPAMP_INVERTINGINPUT_IO0)

Definition at line 335 of file stm32l4xx_hal_opamp.h.

Referenced by HAL_OPAMP_Init().

#define IS_OPAMP_NONINVERTING_INPUT (   INPUT)
Value:

Definition at line 350 of file stm32l4xx_hal_opamp.h.

Referenced by HAL_OPAMP_Init().

#define IS_OPAMP_PGA_GAIN (   GAIN)
Value:
(((GAIN) == OPAMP_PGA_GAIN_2) || \
                                 ((GAIN) == OPAMP_PGA_GAIN_4) || \
                                 ((GAIN) == OPAMP_PGA_GAIN_8) || \
                                 ((GAIN) == OPAMP_PGA_GAIN_16))

Definition at line 380 of file stm32l4xx_hal_opamp.h.

Referenced by HAL_OPAMP_Init().

#define IS_OPAMP_POWER_SUPPLY_RANGE (   RANGE)
Value:
(((RANGE) == OPAMP_POWERSUPPLY_LOW) || \
                                            ((RANGE) == OPAMP_POWERSUPPLY_HIGH)  )

Definition at line 388 of file stm32l4xx_hal_opamp.h.

Referenced by HAL_OPAMP_Init().

#define IS_OPAMP_POWERMODE (   TRIMMING)
#define IS_OPAMP_TRIMMING (   TRIMMING)
Value:
(((TRIMMING) == OPAMP_TRIMMING_FACTORY) || \
                                     ((TRIMMING) == OPAMP_TRIMMING_USER))

Definition at line 391 of file stm32l4xx_hal_opamp.h.

Referenced by HAL_OPAMP_Init().

#define IS_OPAMP_TRIMMINGVALUE (   TRIMMINGVALUE)    ((TRIMMINGVALUE) <= 31U)

Definition at line 395 of file stm32l4xx_hal_opamp.h.

Referenced by HAL_OPAMP_Init().