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...
UM1581
Operational amplifier (OPAMP)
DocID023800 Rev 1
291/584
OPAMP_Cmd()
OPAMP_GetOutputLevel()
OPAMP_OffsetTrimModeSelect()
OPAMP_OffsetTrimConfig()
OPAMP_StartCalibration()
16.2.4 Initialization and Configuration
16.2.4.1 OPAMP_DeInit
Function Name
void OPAMP_DeInit ( uint32_t OPAMP_Selection)
Function Description
Deinitializes OPAMP peripheral registers to their default reset
values.
Parameters
OPAMP_Selection.
Return values
None.
Notes
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
Function Name
void OPAMP_Init ( uint32_t OPAMP_Selection,
OPAMP_InitTypeDef * OPAMP_InitStruct)
Function Description
Initializes the OPAMP peripheral according to the specified
parameters in OPAMP_InitStruct.
Parameters
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 :
Return values
None.
Notes
If the selected OPAMP is locked, initialization can't be
performed. To unlock the configuration, perform a system
reset.

Table of Contents

Related product manuals