OPAMP_Init_TypeDef Struct Reference

OPAMP init structure.

#include <em_opamp.h>

Data Fields

OPAMP_NegSel_TypeDef negSel
Select input source for negative terminal.
OPAMP_PosSel_TypeDef posSel
Select input source for positive terminal.
OPAMP_OutMode_TypeDef outMode
Output terminal connection.
OPAMP_ResSel_TypeDef resSel
Select R2/R1 resistor ratio.
OPAMP_ResInMux_TypeDef resInMux
Select input source for resistor ladder.
uint32_t outPen
Alternate output enable bit mask.
uint32_t bias
Set OPAMP bias current.
bool halfBias
Divide OPAMP bias current by 2.
bool lpfPosPadDisable
Disable low pass filter on positive pad.
bool lpfNegPadDisable
Disable low pass filter on negative pad.
bool nextOut
Enable NEXTOUT signal source.
bool npEn
Enable positive pad.
bool ppEn
Enable negative pad.
bool shortInputs
Short OPAMP input terminals.
bool hcmDisable
Disable input rail-to-rail capability.
bool defaultOffset
Use factory calibrated opamp offset value.
uint32_t offset
Opamp offset value when defaultOffset is false.

OPAMP init structure.

Field Documentation

negSel

OPAMP_NegSel_TypeDef OPAMP_Init_TypeDef::negSel

Select input source for negative terminal.


posSel

OPAMP_PosSel_TypeDef OPAMP_Init_TypeDef::posSel

Select input source for positive terminal.


outMode

OPAMP_OutMode_TypeDef OPAMP_Init_TypeDef::outMode

Output terminal connection.


resSel

OPAMP_ResSel_TypeDef OPAMP_Init_TypeDef::resSel

Select R2/R1 resistor ratio.


resInMux

OPAMP_ResInMux_TypeDef OPAMP_Init_TypeDef::resInMux

Select input source for resistor ladder.


outPen