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
292/584
DocID023800 Rev 1
16.2.4.3 OPAMP_StructInit
Function Name
void OPAMP_StructInit ( OPAMP_InitTypeDef *
OPAMP_InitStruct)
Function Description
Fills each OPAMP_InitStruct member with its default value.
Parameters
OPAMP_InitStruct : pointer to an OPAMP_InitTypeDef
structure which will be initialized.
Return values
None.
Notes
None.
16.2.4.4 OPAMP_PGAConfig
Function Name
void OPAMP_PGAConfig ( uint32_t OPAMP_Selection,
uint32_t OPAMP_PGAGain, uint32_t OPAMP_PGAConnect)
Function Description
Configure the feedback resistor gain.
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.
NewState : new state of the OPAMP peripheral. This
parameter can be: ENABLE or DISABLE.
Return values
None.
Notes
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
Function Name
void OPAMP_VrefConfig ( uint32_t OPAMP_Selection,
uint32_t OPAMP_Vref)

Table of Contents

Related product manuals