Run the self calibration of 2 OPAMPs in parallel.
- Note:
- Trimming values (PMOS & NMOS) are updated and user trimming is enabled is calibration is successful.
-
Calibration is performed in the mode specified in OPAMP init structure (mode normal or low power). To perform calibration for both modes, repeat this function twice after OPAMP init structure accordingly updated.
- Parameters:
-
hopamp1 | handle |
hopamp2 | handle |
- Return values:
-
Definition at line 77 of file stm32h7xx_hal_opamp_ex.c.
References assert_param, HAL_Delay(), HAL_OPAMP_STATE_READY, __OPAMP_HandleTypeDef::Init, __OPAMP_HandleTypeDef::Instance, IS_OPAMP_POWERMODE, OPAMP_INPUT_NONINVERTING, OPAMP_POWERMODE_HIGHSPEED, OPAMP_POWERMODE_NORMAL, OPAMP_STANDALONE_MODE, OPAMP_TRIMMING_DELAY, OPAMP_TRIMMING_USER, OPAMP_VREF_10VDDA, OPAMP_VREF_90VDDA, OPAMP_InitTypeDef::PowerMode, __OPAMP_HandleTypeDef::State, OPAMP_InitTypeDef::TrimmingValueN, OPAMP_InitTypeDef::TrimmingValueNHighSpeed, OPAMP_InitTypeDef::TrimmingValueP, OPAMP_InitTypeDef::TrimmingValuePHighSpeed, and OPAMP_InitTypeDef::UserTrimming.