Operational amplifier (OPAMP)
Configure the OPAMP's internal reference.
ï‚· OPAMP_Selection : the selected OPAMP. This parameter
can be OPAMP_Selection_OPAMPx where x can be 1 to 4 to
select the OPAMP peripheral.
ï‚· OPAMP_Vref : This parameter can be:
OPAMP_Vref_3VDDA: OPMAP Vref = 3.3% VDDA
OPAMP_Vref_10VDDA: OPMAP Vref = 10% VDDA
OPAMP_Vref_50VDDA: OPMAP Vref = 50% VDDA
OPAMP_Vref_90VDDA: OPMAP Vref = 90% VDDA
ï‚· This feature is used when calibration enabled or OPAMP's
reference connected to the non inverting input.
ï‚· If the selected OPAMP is locked, Vref configuration can't be
performed. To unlock the configuration, perform a system
reset.
16.2.4.6 OPAMP_VrefConnectNonInvertingInput
void OPAMP_VrefConnectNonInvertingInput ( uint32_t
OPAMP_Selection, FunctionalState NewState)
Connnect the internal reference to the OPAMP's non inverting
input.
ï‚· OPAMP_Selection : the selected OPAMP. This parameter
can be OPAMP_Selection_OPAMPx where x can be 1 to 4 to
select the OPAMP peripheral.
ï‚· NewState : new state of the OPAMP peripheral. This
parameter can be: ENABLE or DISABLE.
ï‚· If the selected OPAMP is locked, Vref configuration can't be
performed. To unlock the configuration, perform a system
reset.
16.2.4.7 OPAMP_VrefConnectADCCmd
void OPAMP_VrefConnectADCCmd ( uint32_t
OPAMP_Selection, FunctionalState NewState)