STM32L443xx HAL User Manual
|
Initialization and Configuration functions. More...
Functions | |
HAL_StatusTypeDef | HAL_OPAMP_Init (OPAMP_HandleTypeDef *hopamp) |
Initializes the OPAMP according to the specified parameters in the OPAMP_InitTypeDef and initialize the associated handle. | |
HAL_StatusTypeDef | HAL_OPAMP_DeInit (OPAMP_HandleTypeDef *hopamp) |
DeInitialize the OPAMP peripheral. | |
__weak void | HAL_OPAMP_MspInit (OPAMP_HandleTypeDef *hopamp) |
Initialize the OPAMP MSP. | |
__weak void | HAL_OPAMP_MspDeInit (OPAMP_HandleTypeDef *hopamp) |
DeInitialize OPAMP MSP. |
Initialization and Configuration functions.
============================================================================== ##### Initialization and de-initialization functions ##### ==============================================================================
HAL_StatusTypeDef HAL_OPAMP_DeInit | ( | OPAMP_HandleTypeDef * | hopamp | ) |
DeInitialize the OPAMP peripheral.
hopamp | OPAMP handle |
HAL | status |
Definition at line 440 of file stm32l4xx_hal_opamp.c.
References assert_param, HAL_OPAMP_MspDeInit(), HAL_OPAMP_STATE_CALIBBUSY, HAL_OPAMP_STATE_RESET, __OPAMP_HandleTypeDef::Instance, __OPAMP_HandleTypeDef::MspDeInitCallback, OPAMP_CSR_RESET_BITS, OPAMP_CSR_RESET_VALUE, and __OPAMP_HandleTypeDef::State.
HAL_StatusTypeDef HAL_OPAMP_Init | ( | OPAMP_HandleTypeDef * | hopamp | ) |
Initializes the OPAMP according to the specified parameters in the OPAMP_InitTypeDef and initialize the associated handle.
hopamp | OPAMP handle |
HAL | status |
Definition at line 276 of file stm32l4xx_hal_opamp.c.
References assert_param, HAL_OPAMP_MspInit(), HAL_OPAMP_STATE_BUSYLOCKED, HAL_OPAMP_STATE_CALIBBUSY, HAL_OPAMP_STATE_READY, HAL_OPAMP_STATE_RESET, __OPAMP_HandleTypeDef::Init, __OPAMP_HandleTypeDef::Instance, OPAMP_InitTypeDef::InvertingInput, IS_OPAMP_FUNCTIONAL_NORMALMODE, IS_OPAMP_INVERTING_INPUT_PGA, IS_OPAMP_INVERTING_INPUT_STANDALONE, IS_OPAMP_NONINVERTING_INPUT, IS_OPAMP_PGA_GAIN, IS_OPAMP_POWER_SUPPLY_RANGE, IS_OPAMP_POWERMODE, IS_OPAMP_TRIMMING, IS_OPAMP_TRIMMINGVALUE, __OPAMP_HandleTypeDef::Lock, OPAMP_InitTypeDef::Mode, __OPAMP_HandleTypeDef::MspInitCallback, OPAMP_InitTypeDef::NonInvertingInput, OPAMP_CSR_INIT_MASK_FOLLOWER, OPAMP_CSR_INIT_MASK_PGA, OPAMP_CSR_INIT_MASK_STANDALONE, OPAMP_FOLLOWER_MODE, OPAMP_INPUT_NONINVERTING, OPAMP_PGA_MODE, OPAMP_POWERMODE_LOWPOWER, OPAMP_POWERMODE_NORMALPOWER, OPAMP_STANDALONE_MODE, OPAMP_TRIMMING_USER, OPAMP_InitTypeDef::PgaGain, OPAMP_InitTypeDef::PowerMode, OPAMP_InitTypeDef::PowerSupplyRange, __OPAMP_HandleTypeDef::State, OPAMP_InitTypeDef::TrimmingValueN, OPAMP_InitTypeDef::TrimmingValueNLowPower, OPAMP_InitTypeDef::TrimmingValueP, OPAMP_InitTypeDef::TrimmingValuePLowPower, and OPAMP_InitTypeDef::UserTrimming.
void HAL_OPAMP_MspDeInit | ( | OPAMP_HandleTypeDef * | hopamp | ) |
DeInitialize OPAMP MSP.
hopamp | OPAMP handle |
None |
Definition at line 505 of file stm32l4xx_hal_opamp.c.
Referenced by HAL_OPAMP_DeInit(), and HAL_OPAMP_UnRegisterCallback().
void HAL_OPAMP_MspInit | ( | OPAMP_HandleTypeDef * | hopamp | ) |
Initialize the OPAMP MSP.
hopamp | OPAMP handle |
None |
Definition at line 490 of file stm32l4xx_hal_opamp.c.
Referenced by HAL_OPAMP_Init(), and HAL_OPAMP_UnRegisterCallback().