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.

OPAx operation mode.

bool

Enable 3x gain resistor ladder.

bool

Half or full output drive strength.

bool

Unity gain bandwidth scaled by factor of 2.5.

bool

Enable PRS as OPAMP trigger.

Selects PRS trigger mode.

PRS channel trigger select.

bool

Disable bus master request on APORT Y.

bool

Disable bus master request on APORT X.

uint32_t

Number of clock cycles to drive the output.

uint32_t

OPAx startup delay in microseconds.

bool

Disable input rail-to-rail capability.

bool

Use factory calibrated opamp inverting input offset value.

uint32_t

Opamp inverting input offset value when defaultOffsetN is false.

bool

Use factory calibrated opamp non-inverting input offset value.

uint32_t

Opamp non-inverting input offset value when defaultOffsetP 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 VDAC_OPA_OUT_ALTOUTPADEN_OUT[output#] flags (defined in <part_name>_vdac.h) OR'ed together.

  • VDAC_OPA_OUT_ALTOUTPADEN_OUT0

  • VDAC_OPA_OUT_ALTOUTPADEN_OUT1

  • VDAC_OPA_OUT_ALTOUTPADEN_OUT2

  • VDAC_OPA_OUT_ALTOUTPADEN_OUT3

  • VDAC_OPA_OUT_ALTOUTPADEN_OUT4

E.g:
init.outPen = VDAC_OPA_OUT_ALTOUTPADEN_OUT0 | VDAC_OPA_OUT_ALTOUTPADEN_OUT2 | VDAC_OPA_OUT_ALTOUTPADEN_OUT4;


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

drvStr#

OPAMP_DrvStr_Typedef OPAMP_Init_TypeDef::drvStr

OPAx operation mode.



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

gain3xEn#

bool OPAMP_Init_TypeDef::gain3xEn

Enable 3x gain resistor ladder.



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

halfDrvStr#

bool OPAMP_Init_TypeDef::halfDrvStr

Half or full output drive strength.



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

ugBwScale#

bool OPAMP_Init_TypeDef::ugBwScale

Unity gain bandwidth scaled by factor of 2.5.


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

prsEn#

bool OPAMP_Init_TypeDef::prsEn

Enable PRS as OPAMP trigger.



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

prsMode#

OPAMP_PrsMode_TypeDef OPAMP_Init_TypeDef::prsMode

Selects PRS trigger mode.



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

prsSel#

OPAMP_PrsSel_TypeDef OPAMP_Init_TypeDef::prsSel

PRS channel trigger select.



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

prsOutSel#

OPAMP_PrsOut_TypeDef OPAMP_Init_TypeDef::prsOutSel

PRS output select.



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

aportYMasterDisable#

bool OPAMP_Init_TypeDef::aportYMasterDisable

Disable bus master request on APORT Y.



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

aportXMasterDisable#

bool OPAMP_Init_TypeDef::aportXMasterDisable

Disable bus master request on APORT X.



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

settleTime#

uint32_t OPAMP_Init_TypeDef::settleTime

Number of clock cycles to drive the output.



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

startupDly#

uint32_t OPAMP_Init_TypeDef::startupDly

OPAx startup delay in microseconds.



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

hcmDisable#

bool OPAMP_Init_TypeDef::hcmDisable

Disable input rail-to-rail capability.



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

defaultOffsetN#

bool OPAMP_Init_TypeDef::defaultOffsetN

Use factory calibrated opamp inverting input offset value.



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

offsetN#

uint32_t OPAMP_Init_TypeDef::offsetN

Opamp inverting input offset value when defaultOffsetN is false.



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

defaultOffsetP#

bool OPAMP_Init_TypeDef::defaultOffsetP

Use factory calibrated opamp non-inverting input offset value.



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

offsetP#

uint32_t OPAMP_Init_TypeDef::offsetP

Opamp non-inverting input offset value when defaultOffsetP is false.



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