STM32L4xx_HAL_Driver  1.14.0
stm32l4xx_ll_opamp.h File Reference

Header file of OPAMP LL module. More...

Go to the source code of this file.

Data Structures

struct  LL_OPAMP_InitTypeDef
 Structure definition of some features of OPAMP instance. More...
 

Functions

__STATIC_INLINE void LL_OPAMP_SetCommonPowerRange (OPAMP_Common_TypeDef *OPAMPxy_COMMON, uint32_t PowerRange)
 Set OPAMP power range. More...
 
__STATIC_INLINE uint32_t LL_OPAMP_GetCommonPowerRange (OPAMP_Common_TypeDef *OPAMPxy_COMMON)
 Get OPAMP power range. More...
 
__STATIC_INLINE void LL_OPAMP_SetPowerMode (OPAMP_TypeDef *OPAMPx, uint32_t PowerMode)
 Set OPAMP power mode. More...
 
__STATIC_INLINE uint32_t LL_OPAMP_GetPowerMode (OPAMP_TypeDef *OPAMPx)
 Get OPAMP power mode. CSR OPALPM LL_OPAMP_GetPowerMode. More...
 
__STATIC_INLINE void LL_OPAMP_SetMode (OPAMP_TypeDef *OPAMPx, uint32_t Mode)
 Set OPAMP mode calibration or functional. More...
 
__STATIC_INLINE uint32_t LL_OPAMP_GetMode (OPAMP_TypeDef *OPAMPx)
 Get OPAMP mode calibration or functional. More...
 
__STATIC_INLINE void LL_OPAMP_SetFunctionalMode (OPAMP_TypeDef *OPAMPx, uint32_t FunctionalMode)
 Set OPAMP functional mode by setting internal connections. OPAMP operation in standalone, follower, ... More...
 
__STATIC_INLINE uint32_t LL_OPAMP_GetFunctionalMode (OPAMP_TypeDef *OPAMPx)
 Get OPAMP functional mode from setting of internal connections. OPAMP operation in standalone, follower, ... CSR OPAMODE LL_OPAMP_GetFunctionalMode. More...
 
__STATIC_INLINE void LL_OPAMP_SetPGAGain (OPAMP_TypeDef *OPAMPx, uint32_t PGAGain)
 Set OPAMP PGA gain. More...
 
__STATIC_INLINE uint32_t LL_OPAMP_GetPGAGain (OPAMP_TypeDef *OPAMPx)
 Get OPAMP PGA gain. More...
 
__STATIC_INLINE void LL_OPAMP_SetInputNonInverting (OPAMP_TypeDef *OPAMPx, uint32_t InputNonInverting)
 Set OPAMP non-inverting input connection. CSR VPSEL LL_OPAMP_SetInputNonInverting. More...
 
__STATIC_INLINE uint32_t LL_OPAMP_GetInputNonInverting (OPAMP_TypeDef *OPAMPx)
 Get OPAMP non-inverting input connection. CSR VPSEL LL_OPAMP_GetInputNonInverting. More...
 
__STATIC_INLINE void LL_OPAMP_SetInputInverting (OPAMP_TypeDef *OPAMPx, uint32_t InputInverting)
 Set OPAMP inverting input connection. More...
 
__STATIC_INLINE uint32_t LL_OPAMP_GetInputInverting (OPAMP_TypeDef *OPAMPx)
 Get OPAMP inverting input connection. CSR VMSEL LL_OPAMP_GetInputInverting. More...
 
__STATIC_INLINE void LL_OPAMP_SetNonInvertingInput (OPAMP_TypeDef *OPAMPx, uint32_t NonInvertingInput)
 
__STATIC_INLINE void LL_OPAMP_SetInvertingInput (OPAMP_TypeDef *OPAMPx, uint32_t InvertingInput)
 
__STATIC_INLINE void LL_OPAMP_SetTrimmingMode (OPAMP_TypeDef *OPAMPx, uint32_t TrimmingMode)
 Set OPAMP trimming mode. CSR USERTRIM LL_OPAMP_SetTrimmingMode. More...
 
__STATIC_INLINE uint32_t LL_OPAMP_GetTrimmingMode (OPAMP_TypeDef *OPAMPx)
 Get OPAMP trimming mode. CSR USERTRIM LL_OPAMP_GetTrimmingMode. More...
 
__STATIC_INLINE void LL_OPAMP_SetCalibrationSelection (OPAMP_TypeDef *OPAMPx, uint32_t TransistorsDiffPair)
 Set OPAMP offset to calibrate the selected transistors differential pair NMOS or PMOS. More...
 
__STATIC_INLINE uint32_t LL_OPAMP_GetCalibrationSelection (OPAMP_TypeDef *OPAMPx)
 Get OPAMP offset to calibrate the selected transistors differential pair NMOS or PMOS. More...
 
__STATIC_INLINE uint32_t LL_OPAMP_IsCalibrationOutputSet (OPAMP_TypeDef *OPAMPx)
 Get OPAMP calibration result of toggling output. More...
 
__STATIC_INLINE void LL_OPAMP_SetTrimmingValue (OPAMP_TypeDef *OPAMPx, uint32_t PowerMode, uint32_t TransistorsDiffPair, uint32_t TrimmingValue)
 Set OPAMP trimming factor for the selected transistors differential pair NMOS or PMOS, corresponding to the selected power mode. OTR TRIMOFFSETN LL_OPAMP_SetTrimmingValue
OTR TRIMOFFSETP LL_OPAMP_SetTrimmingValue
LPOTR TRIMLPOFFSETN LL_OPAMP_SetTrimmingValue
LPOTR TRIMLPOFFSETP LL_OPAMP_SetTrimmingValue. More...
 
__STATIC_INLINE uint32_t LL_OPAMP_GetTrimmingValue (OPAMP_TypeDef *OPAMPx, uint32_t PowerMode, uint32_t TransistorsDiffPair)
 Get OPAMP trimming factor for the selected transistors differential pair NMOS or PMOS, corresponding to the selected power mode. OTR TRIMOFFSETN LL_OPAMP_GetTrimmingValue
OTR TRIMOFFSETP LL_OPAMP_GetTrimmingValue
LPOTR TRIMLPOFFSETN LL_OPAMP_GetTrimmingValue
LPOTR TRIMLPOFFSETP LL_OPAMP_GetTrimmingValue. More...
 
__STATIC_INLINE void LL_OPAMP_Enable (OPAMP_TypeDef *OPAMPx)
 Enable OPAMP instance. More...
 
__STATIC_INLINE void LL_OPAMP_Disable (OPAMP_TypeDef *OPAMPx)
 Disable OPAMP instance. CSR OPAMPXEN LL_OPAMP_Disable. More...
 
__STATIC_INLINE uint32_t LL_OPAMP_IsEnabled (OPAMP_TypeDef *OPAMPx)
 Get OPAMP instance enable state (0: OPAMP is disabled, 1: OPAMP is enabled) CSR OPAMPXEN LL_OPAMP_IsEnabled. More...
 
ErrorStatus LL_OPAMP_DeInit (OPAMP_TypeDef *OPAMPx)
 De-initialize registers of the selected OPAMP instance to their default reset values. More...
 
ErrorStatus LL_OPAMP_Init (OPAMP_TypeDef *OPAMPx, LL_OPAMP_InitTypeDef *OPAMP_InitStruct)
 Initialize some features of OPAMP instance. More...
 
void LL_OPAMP_StructInit (LL_OPAMP_InitTypeDef *OPAMP_InitStruct)
 Set each LL_OPAMP_InitTypeDef field to default value. More...
 

Detailed Description

Header file of OPAMP LL module.

Author
MCD Application Team
Attention

© Copyright (c) 2017 STMicroelectronics. All rights reserved.

This software component is licensed by ST under BSD 3-Clause license, the "License"; You may not use this file except in compliance with the License. You may obtain a copy of the License at: opensource.org/licenses/BSD-3-Clause

Definition in file stm32l4xx_ll_opamp.h.