Initialize some features of OPAMP instance.
- Note:
- This function reset bit of calibration mode to ensure to be in functional mode, in order to have OPAMP parameters (inputs selection, ...) set with the corresponding OPAMP mode to be effective.
-
This function configures features of the selected OPAMP instance. Some features are also available at scope OPAMP common instance (common to several OPAMP instances). Refer to functions having argument "OPAMPxy_COMMON" as parameter.
- Parameters:
-
- Return values:
-
An | ErrorStatus enumeration value:
- SUCCESS: OPAMP registers are initialized
- ERROR: OPAMP registers are not initialized
|
Definition at line 132 of file stm32l4xx_ll_opamp.c.
References assert_param, LL_OPAMP_InitTypeDef::FunctionalMode, LL_OPAMP_InitTypeDef::InputInverting, LL_OPAMP_InitTypeDef::InputNonInverting, IS_LL_OPAMP_FUNCTIONAL_MODE, IS_LL_OPAMP_INPUT_INVERTING, IS_LL_OPAMP_INPUT_NONINVERTING, IS_LL_OPAMP_POWER_MODE, LL_OPAMP_INPUT_INVERT_CONNECT_NO, LL_OPAMP_MODE_FOLLOWER, OPAMP_POWERMODE_CSR_BIT_MASK, and LL_OPAMP_InitTypeDef::PowerMode.