Operational amplifier (OPAMP)
16.2.4.3 OPAMP_StructInit
void OPAMP_StructInit ( OPAMP_InitTypeDef *
OPAMP_InitStruct)
Fills each OPAMP_InitStruct member with its default value.
ï‚· OPAMP_InitStruct : pointer to an OPAMP_InitTypeDef
structure which will be initialized.
16.2.4.4 OPAMP_PGAConfig
void OPAMP_PGAConfig ( uint32_t OPAMP_Selection,
uint32_t OPAMP_PGAGain, uint32_t OPAMP_PGAConnect)
Configure the feedback resistor gain.
ï‚· 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, gain configuration can't be
performed. To unlock the configuration, perform a system
reset.
16.2.4.5 OPAMP_VrefConfig
void OPAMP_VrefConfig ( uint32_t OPAMP_Selection,
uint32_t OPAMP_Vref)