STM32H735xx HAL User Manual
Defines
OPAMP functional mode
OPAMP Exported Constants

Defines

#define LL_OPAMP_MODE_STANDALONE   0x00000000U
#define LL_OPAMP_MODE_FOLLOWER   (OPAMP_CSR_VMSEL_1 | OPAMP_CSR_VMSEL_0)
#define LL_OPAMP_MODE_PGA   (OPAMP_CSR_VMSEL_1)
#define LL_OPAMP_MODE_PGA_IO0   (OPAMP_CSR_PGGAIN_2|OPAMP_CSR_VMSEL_1)
#define LL_OPAMP_MODE_PGA_IO0_BIAS   (OPAMP_CSR_PGGAIN_3|OPAMP_CSR_VMSEL_1)
#define LL_OPAMP_MODE_PGA_IO0_IO1_BIAS   (OPAMP_CSR_PGGAIN_3|OPAMP_CSR_PGGAIN_2|OPAMP_CSR_VMSEL_1)

Define Documentation

#define LL_OPAMP_MODE_FOLLOWER   (OPAMP_CSR_VMSEL_1 | OPAMP_CSR_VMSEL_0)

OPAMP functional mode, OPAMP operation in follower

Definition at line 156 of file stm32h7xx_ll_opamp.h.

Referenced by LL_OPAMP_Init(), and LL_OPAMP_StructInit().

#define LL_OPAMP_MODE_PGA   (OPAMP_CSR_VMSEL_1)

OPAMP functional mode, OPAMP operation in PGA

Definition at line 157 of file stm32h7xx_ll_opamp.h.

#define LL_OPAMP_MODE_PGA_IO0   (OPAMP_CSR_PGGAIN_2|OPAMP_CSR_VMSEL_1)

In PGA mode, the inverting input is connected to VINM0 for filtering

Definition at line 158 of file stm32h7xx_ll_opamp.h.

#define LL_OPAMP_MODE_PGA_IO0_BIAS   (OPAMP_CSR_PGGAIN_3|OPAMP_CSR_VMSEL_1)

In PGA mode, the inverting input is connected to VINM0

  • Input signal on VINM0, bias on VINPx: negative gain
  • Bias on VINM0, input signal on VINPx: positive gain

Definition at line 159 of file stm32h7xx_ll_opamp.h.

#define LL_OPAMP_MODE_PGA_IO0_IO1_BIAS   (OPAMP_CSR_PGGAIN_3|OPAMP_CSR_PGGAIN_2|OPAMP_CSR_VMSEL_1)

In PGA mode, the inverting input is connected to VINM0

  • Input signal on VINM0, bias on VINPx: negative gain
  • Bias on VINM0, input signal on VINPx: positive gain And VINM1 is connected too for filtering

Definition at line 162 of file stm32h7xx_ll_opamp.h.

#define LL_OPAMP_MODE_STANDALONE   0x00000000U

OPAMP functional mode, OPAMP operation in standalone

Definition at line 155 of file stm32h7xx_ll_opamp.h.