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.
Fork of TUKS-COURSE-TIMER by
IO operation functions
[OPAMP Exported Functions]
IO operation functions. More...
Functions | |
HAL_StatusTypeDef | HAL_OPAMP_Start (OPAMP_HandleTypeDef *hopamp) |
Start the OPAMP. | |
HAL_StatusTypeDef | HAL_OPAMP_Stop (OPAMP_HandleTypeDef *hopamp) |
Stop the OPAMP. | |
HAL_StatusTypeDef | HAL_OPAMP_SelfCalibrate (OPAMP_HandleTypeDef *hopamp) |
Run the self calibration of one OPAMP. |
Detailed Description
IO operation functions.
=============================================================================== ##### IO operation functions ##### =============================================================================== [..] This subsection provides a set of functions allowing to manage the OPAMP start, stop and calibration actions.
Function Documentation
HAL_StatusTypeDef HAL_OPAMP_SelfCalibrate | ( | OPAMP_HandleTypeDef * | hopamp ) |
Run the self calibration of one OPAMP.
- Note:
- 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.
- Calibration runs about 10 ms.
- Parameters:
-
hopamp handle
- Return values:
-
Updated offset trimming values (PMOS & NMOS), user trimming is enabled HAL status
Definition at line 600 of file stm32l4xx_hal_opamp.c.
HAL_StatusTypeDef HAL_OPAMP_Start | ( | OPAMP_HandleTypeDef * | hopamp ) |
Start the OPAMP.
- Parameters:
-
hopamp,: OPAMP handle
- Return values:
-
HAL status
Definition at line 515 of file stm32l4xx_hal_opamp.c.
HAL_StatusTypeDef HAL_OPAMP_Stop | ( | OPAMP_HandleTypeDef * | hopamp ) |
Stop the OPAMP.
- Parameters:
-
hopamp,: OPAMP handle
- Return values:
-
HAL status
Definition at line 553 of file stm32l4xx_hal_opamp.c.
Generated on Tue Jul 12 2022 17:38:53 by
