Operational amplifier (OPAMP)
ï‚· Returns the selected OPAMP output level: low or high.
ï‚· OPAMP ouput level is provided only during calibration phase.
16.2.4.12 OPAMP_OffsetTrimModeSelect
void OPAMP_OffsetTrimModeSelect ( uint32_t
OPAMP_Selection, uint32_t OPAMP_Trimming)
Select the trimming mode.
ï‚· OffsetTrimming : the selected offset trimming mode. This
parameter can be one of the following values:
ï€ OPAMP_Trimming_Factory : factory trimming values
are used for offset calibration
ï€ OPAMP_Trimming_User : user trimming values are
used for offset calibration
ï‚· When OffsetTrimming_User is selected, use
OPAMP_OffsetTrimConfig() function or
OPAMP_OffsetTrimLowPowerConfig() function to adjust
trimming value.
16.2.4.13 OPAMP_OffsetTrimConfig
void OPAMP_OffsetTrimConfig ( uint32_t OPAMP_Selection,
uint32_t OPAMP_Input, uint32_t OPAMP_TrimValue)
Configure the trimming value of the OPAMP.
ï‚· OPAMP_Selection : the selected OPAMP. This parameter
can be OPAMP_Selection_OPAMPx where x can be 1 to 4 to
select the OPAMP peripheral.
ï‚· OPAMP_Input : the selected OPAMP input. This parameter
can be one of the following values:
ï€ OPAMP_Input_Inverting : Inverting input is selected to
configure the trimming value
ï€ OPAMP_Input_NonInverting : Non inverting input is
selected to configure the trimming value
ï‚· OPAMP_TrimValue : the trimming value. This parameter