STM32L486xx HAL User Manual
Defines
OPAMP Private Macros
OPAMP

Defines

#define IS_OPAMP_FUNCTIONAL_NORMALMODE(INPUT)
#define IS_OPAMP_INVERTING_INPUT_STANDALONE(INPUT)
#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) <= 0x1F)
#define IS_OPAMP_FACTORYTRIMMING(TRIMMING)

Define Documentation

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

Definition at line 386 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 330 of file stm32l4xx_hal_opamp.h.

Referenced by HAL_OPAMP_Init().

#define IS_OPAMP_INVERTING_INPUT_PGA (   INPUT)
Value:
(((INPUT) == OPAMP_INVERTINGINPUT_IO0) || \
                                             ((INPUT) == OPAMP_INVERTINGINPUT_IO1) || \
                                             ((INPUT) == OPAMP_INVERTINGINPUT_CONNECT_NO))

Definition at line 355 of file stm32l4xx_hal_opamp.h.

Referenced by HAL_OPAMP_Init().

Value:
(((INPUT) == OPAMP_INVERTINGINPUT_IO0) || \
                                                    ((INPUT) == OPAMP_INVERTINGINPUT_IO1))

Definition at line 337 of file stm32l4xx_hal_opamp.h.

Referenced by HAL_OPAMP_Init().

#define IS_OPAMP_NONINVERTING_INPUT (   INPUT)
Value:

Definition at line 349 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 369 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 377 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 380 of file stm32l4xx_hal_opamp.h.

Referenced by HAL_OPAMP_Init().

#define IS_OPAMP_TRIMMINGVALUE (   TRIMMINGVALUE)    ((TRIMMINGVALUE) <= 0x1F)

Definition at line 384 of file stm32l4xx_hal_opamp.h.

Referenced by HAL_OPAMP_Init().