Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Initialization and de-initialization functions
[OPAMP Exported Functions]
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. |
Detailed Description
Initialization and Configuration functions.
============================================================================== ##### Initialization and de-initialization functions ##### ==============================================================================
Function Documentation
HAL_StatusTypeDef HAL_OPAMP_DeInit | ( | OPAMP_HandleTypeDef * | hopamp ) |
DeInitialize the OPAMP peripheral.
- Note:
- Deinitialization can be performed if the OPAMP configuration is locked. (the lock is SW in L4)
- Parameters:
-
hopamp,: OPAMP handle
- Return values:
-
HAL status
Definition at line 424 of file stm32l4xx_hal_opamp.c.
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.
- Note:
- If the selected opamp is locked, initialization can't be performed. To unlock the configuration, perform a system reset.
- Parameters:
-
hopamp,: OPAMP handle
- Return values:
-
HAL status
Definition at line 281 of file stm32l4xx_hal_opamp.c.
__weak void HAL_OPAMP_MspDeInit | ( | OPAMP_HandleTypeDef * | hopamp ) |
DeInitialize OPAMP MSP.
- Parameters:
-
hopamp,: OPAMP handle
- Return values:
-
None
Definition at line 479 of file stm32l4xx_hal_opamp.c.
__weak void HAL_OPAMP_MspInit | ( | OPAMP_HandleTypeDef * | hopamp ) |
Initialize the OPAMP MSP.
- Parameters:
-
hopamp,: OPAMP handle
- Return values:
-
None
Definition at line 464 of file stm32l4xx_hal_opamp.c.
Generated on Tue Jul 12 2022 18:10:45 by
