EasyManua.ls Logo

ST STM32F31xx

ST STM32F31xx
584 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Operational amplifier (OPAMP)
UM1581
298/584
DocID023800 Rev 1
16.3 OPAMP Firmware driver defines
16.3.1 OPAMP
OPAMP
OPAMP_Exported_Constants
#define: OPAMP_Trimming_Factory ((uint32_t)0x00000000)
Factory trimming
#define: OPAMP_Trimming_User OPAMP_CSR_USERTRIM
User trimming
OPAMP_Input
#define: OPAMP_Input_Inverting ((uint32_t)0x00000018)
Inverting input
#define: OPAMP_Input_NonInverting ((uint32_t)0x00000013)
Non inverting input
OPAMP_InvertingInput
#define: OPAMP_InvertingInput_IO1 ((uint32_t)0x00000000)
IO1 (PC5 for OPAMP1 and OPAMP2, PB10 for OPAMP3 and OPAMP4) connected to
OPAMPx inverting input
#define: OPAMP_InvertingInput_IO2 OPAMP_CSR_VMSEL_0
IO2 (PA3 for OPAMP1, PA5 for OPAMP2, PB2 for OPAMP3, PD8 for OPAMP4) connected
to OPAMPx inverting input
#define: OPAMP_InvertingInput_PGA OPAMP_CSR_VMSEL_1
Resistor feedback output connected to OPAMPx inverting input (PGA mode)
#define: OPAMP_InvertingInput_Vout OPAMP_CSR_VMSEL
Vout connected to OPAMPx inverting input (follower mode)
OPAMP_NonInvertingInput

Table of Contents

Related product manuals