OPAMP init structure.

Public Attributes#

Select input source for negative terminal.

Select input source for positive terminal.

Output terminal connection.

Select R2/R1 resistor ratio.

Select input source for resistor ladder.

uint32_t

Alternate output enable bit mask.

uint32_t

Set OPAMP bias current.

bool

Divide OPAMP bias current by 2.

bool

Disable low pass filter on positive pad.

bool

Disable low pass filter on negative pad.

bool

Enable NEXTOUT signal source.

bool

Enable positive pad.

bool

Enable negative pad.

bool

Short OPAMP input terminals.

bool

Disable input rail-to-rail capability.

bool

Use factory calibrated opamp offset value.

uint32_t

Opamp offset value when defaultOffset is false.

Public Attribute Documentation#

negSel#

OPAMP_NegSel_TypeDef OPAMP_Init_TypeDef::negSel

Select input source for negative terminal.



Definition at line 441 of file platform/emlib/inc/em_opamp.h

posSel#

OPAMP_PosSel_TypeDef OPAMP_Init_TypeDef::posSel

Select input source for positive terminal.



Definition at line 442 of file platform/emlib/inc/em_opamp.h

outMode#

OPAMP_OutMode_TypeDef OPAMP_Init_TypeDef::outMode

Output terminal connection.



Definition at line 443 of file platform/emlib/inc/em_opamp.h

resSel#

OPAMP_ResSel_TypeDef OPAMP_Init_TypeDef::resSel

Select R2/R1 resistor ratio.



Definition at line 444 of file platform/emlib/inc/em_opamp.h

resInMux#

OPAMP_ResInMux_TypeDef OPAMP_Init_TypeDef::resInMux

Select input source for resistor ladder.



Definition at line 445 of file platform/emlib/inc/em_opamp.h

outPen#

uint32_t OPAMP_Init_TypeDef::outPen

Alternate output enable bit mask.

This value should consist one or more of the DAC_OPA[opa#]MUX_OUTPEN_OUT[output#] flags (defined in <part_name>_dac.h) OR'ed together.

For OPA0:

  • DAC_OPA0MUX_OUTPEN_OUT0

  • DAC_OPA0MUX_OUTPEN_OUT1

  • DAC_OPA0MUX_OUTPEN_OUT2

  • DAC_OPA0MUX_OUTPEN_OUT3

  • DAC_OPA0MUX_OUTPEN_OUT4

For OPA1:

  • DAC_OPA1MUX_OUTPEN_OUT0

  • DAC_OPA1MUX_OUTPEN_OUT1

  • DAC_OPA1MUX_OUTPEN_OUT2

  • DAC_OPA1MUX_OUTPEN_OUT3

  • DAC_OPA1MUX_OUTPEN_OUT4

For OPA2:

  • DAC_OPA2MUX_OUTPEN_OUT0

  • DAC_OPA2MUX_OUTPEN_OUT1

E.g:
init.outPen = DAC_OPA0MUX_OUTPEN_OUT0 | DAC_OPA0MUX_OUTPEN_OUT2 | DAC_OPA0MUX_OUTPEN_OUT4;



Definition at line 446 of file platform/emlib/inc/em_opamp.h

bias#

uint32_t OPAMP_Init_TypeDef::bias

Set OPAMP bias current.



Definition at line 491 of file platform/emlib/inc/em_opamp.h

halfBias#

bool OPAMP_Init_TypeDef::halfBias

Divide OPAMP bias current by 2.



Definition at line 492 of file platform/emlib/inc/em_opamp.h

lpfPosPadDisable#

bool OPAMP_Init_TypeDef::lpfPosPadDisable

Disable low pass filter on positive pad.



Definition at line 493 of file platform/emlib/inc/em_opamp.h

lpfNegPadDisable#

bool OPAMP_Init_TypeDef::lpfNegPadDisable

Disable low pass filter on negative pad.



Definition at line 494 of file platform/emlib/inc/em_opamp.h

nextOut#

bool OPAMP_Init_TypeDef::nextOut

Enable NEXTOUT signal source.



Definition at line 495 of file platform/emlib/inc/em_opamp.h

npEn#

bool OPAMP_Init_TypeDef::npEn

Enable positive pad.



Definition at line 496 of file platform/emlib/inc/em_opamp.h

ppEn#

bool OPAMP_Init_TypeDef::ppEn

Enable negative pad.



Definition at line 497 of file platform/emlib/inc/em_opamp.h

shortInputs#

bool OPAMP_Init_TypeDef::shortInputs

Short OPAMP input terminals.



Definition at line 498 of file platform/emlib/inc/em_opamp.h

hcmDisable#

bool OPAMP_Init_TypeDef::hcmDisable

Disable input rail-to-rail capability.



Definition at line 499 of file platform/emlib/inc/em_opamp.h

defaultOffset#

bool OPAMP_Init_TypeDef::defaultOffset

Use factory calibrated opamp offset value.



Definition at line 500 of file platform/emlib/inc/em_opamp.h

offset#

uint32_t OPAMP_Init_TypeDef::offset

Opamp offset value when defaultOffset is false.



Definition at line 501 of file platform/emlib/inc/em_opamp.h