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.
Alternate output enable bit mask.
OPAx operation mode.
Enable 3x gain resistor ladder.
Half or full output drive strength.
Unity gain bandwidth scaled by factor of 2.5.
Enable PRS as OPAMP trigger.
Selects PRS trigger mode.
PRS channel trigger select.
PRS output select.
Disable bus master request on APORT Y.
Disable bus master request on APORT X.
Number of clock cycles to drive the output.
OPAx startup delay in microseconds.
Disable input rail-to-rail capability.
Use factory calibrated opamp inverting input offset value.
Opamp inverting input offset value when defaultOffsetN is false.
Use factory calibrated opamp non-inverting input offset value.
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.
441
of file platform/emlib/inc/em_opamp.h
posSel#
OPAMP_PosSel_TypeDef OPAMP_Init_TypeDef::posSel
Select input source for positive terminal.
442
of file platform/emlib/inc/em_opamp.h
outMode#
OPAMP_OutMode_TypeDef OPAMP_Init_TypeDef::outMode
Output terminal connection.
443
of file platform/emlib/inc/em_opamp.h
resSel#
OPAMP_ResSel_TypeDef OPAMP_Init_TypeDef::resSel
Select R2/R1 resistor ratio.
444
of file platform/emlib/inc/em_opamp.h
resInMux#
OPAMP_ResInMux_TypeDef OPAMP_Init_TypeDef::resInMux
Select input source for resistor ladder.
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;
446
of file platform/emlib/inc/em_opamp.h
drvStr#
OPAMP_DrvStr_Typedef OPAMP_Init_TypeDef::drvStr
OPAx operation mode.
504
of file platform/emlib/inc/em_opamp.h
gain3xEn#
bool OPAMP_Init_TypeDef::gain3xEn
Enable 3x gain resistor ladder.
505
of file platform/emlib/inc/em_opamp.h
halfDrvStr#
bool OPAMP_Init_TypeDef::halfDrvStr
Half or full output drive strength.
506
of file platform/emlib/inc/em_opamp.h
ugBwScale#
bool OPAMP_Init_TypeDef::ugBwScale
Unity gain bandwidth scaled by factor of 2.5.
507
of file platform/emlib/inc/em_opamp.h
prsEn#
bool OPAMP_Init_TypeDef::prsEn
Enable PRS as OPAMP trigger.
508
of file platform/emlib/inc/em_opamp.h
prsMode#
OPAMP_PrsMode_TypeDef OPAMP_Init_TypeDef::prsMode
Selects PRS trigger mode.
509
of file platform/emlib/inc/em_opamp.h
prsSel#
OPAMP_PrsSel_TypeDef OPAMP_Init_TypeDef::prsSel
PRS channel trigger select.
510
of file platform/emlib/inc/em_opamp.h
prsOutSel#
OPAMP_PrsOut_TypeDef OPAMP_Init_TypeDef::prsOutSel
PRS output select.
511
of file platform/emlib/inc/em_opamp.h
aportYMasterDisable#
bool OPAMP_Init_TypeDef::aportYMasterDisable
Disable bus master request on APORT Y.
512
of file platform/emlib/inc/em_opamp.h
aportXMasterDisable#
bool OPAMP_Init_TypeDef::aportXMasterDisable
Disable bus master request on APORT X.
513
of file platform/emlib/inc/em_opamp.h
settleTime#
uint32_t OPAMP_Init_TypeDef::settleTime
Number of clock cycles to drive the output.
514
of file platform/emlib/inc/em_opamp.h
startupDly#
uint32_t OPAMP_Init_TypeDef::startupDly
OPAx startup delay in microseconds.
515
of file platform/emlib/inc/em_opamp.h
hcmDisable#
bool OPAMP_Init_TypeDef::hcmDisable
Disable input rail-to-rail capability.
516
of file platform/emlib/inc/em_opamp.h
defaultOffsetN#
bool OPAMP_Init_TypeDef::defaultOffsetN
Use factory calibrated opamp inverting input offset value.
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.
519
of file platform/emlib/inc/em_opamp.h
defaultOffsetP#
bool OPAMP_Init_TypeDef::defaultOffsetP
Use factory calibrated opamp non-inverting input offset value.
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.
523
of file platform/emlib/inc/em_opamp.h