TUKS MCU Introductory course / TUKS-COURSE-THERMOMETER

Fork of TUKS-COURSE-TIMER by TUKS MCU Introductory course

Embed: (wiki syntax)

« Back to documentation index

IO operation functions

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:
hopamphandle
Return values:
Updatedoffset trimming values (PMOS & NMOS), user trimming is enabled
HALstatus

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:
HALstatus

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:
HALstatus

Definition at line 553 of file stm32l4xx_hal_opamp.c.