Operational amplifier (OPAMP)
ï‚· OPAMP_Cmd()
ï‚· OPAMP_GetOutputLevel()
ï‚· OPAMP_OffsetTrimModeSelect()
ï‚· OPAMP_OffsetTrimConfig()
ï‚· OPAMP_StartCalibration()
16.2.4 Initialization and Configuration
16.2.4.1 OPAMP_DeInit
void OPAMP_DeInit ( uint32_t OPAMP_Selection)
Deinitializes OPAMP peripheral registers to their default reset
values.
ï‚· Deinitialization can't be performed if the OPAMP configuration
is locked. To unlock the configuration, perform a system
reset.
16.2.4.2 OPAMP_Init
void OPAMP_Init ( uint32_t OPAMP_Selection,
OPAMP_InitTypeDef * OPAMP_InitStruct)
Initializes the OPAMP peripheral according to the specified
parameters in OPAMP_InitStruct.
ï‚· 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_InitStruct : pointer to an OPAMP_InitTypeDef
structure that contains the configuration information for the
specified OPAMP peripheral. OPAMP_InvertingInput
specifies the inverting input of
OPAMPOPAMP_NonInvertingInput specifies the non
inverting input of OPAMP
ï€ OPAMP_InvertingInput :
ï€ OPAMP_NonInvertingInput :
ï‚· If the selected OPAMP is locked, initialization can't be
performed. To unlock the configuration, perform a system
reset.