STM32L486xx HAL User Manual
Data Fields
OPAMP_InitTypeDef Struct Reference

OPAMP Init structure definition. More...

#include <stm32l4xx_hal_opamp.h>

Data Fields

uint32_t PowerSupplyRange
uint32_t PowerMode
uint32_t Mode
uint32_t InvertingInput
uint32_t NonInvertingInput
uint32_t PgaGain
uint32_t UserTrimming
uint32_t TrimmingValueP
uint32_t TrimmingValueN
uint32_t TrimmingValuePLowPower
uint32_t TrimmingValueNLowPower

Detailed Description

OPAMP Init structure definition.

Definition at line 65 of file stm32l4xx_hal_opamp.h.


Field Documentation

Specifies the inverting input in Standalone & PGA modes

  • In Standalone mode: i.e. when mode is OPAMP_STANDALONE_MODE & PGA mode: i.e. when mode is OPAMP_PGA_MODE This parameter must be a value of OPAMP Inverting Input
  • In Follower mode i.e. when mode is OPAMP_FOLLOWER_MODE This parameter is Not Applicable

Definition at line 78 of file stm32l4xx_hal_opamp.h.

Referenced by HAL_OPAMP_Init().

Specifies the OPAMP mode This parameter must be a value of OPAMP Mode mode is either Standalone, - Follower or PGA

Definition at line 74 of file stm32l4xx_hal_opamp.h.

Referenced by HAL_OPAMP_Init().

Specifies the non inverting input of the opamp: This parameter must be a value of OPAMP Non Inverting Input

Definition at line 85 of file stm32l4xx_hal_opamp.h.

Referenced by HAL_OPAMP_Init().

Specifies the gain in PGA mode i.e. when mode is OPAMP_PGA_MODE. This parameter must be a value of OPAMP Pga Gain (2, 4, 8 or 16 )

Definition at line 88 of file stm32l4xx_hal_opamp.h.

Referenced by HAL_OPAMP_Init().

Specifies the power mode Normal or Low-Power. This parameter must be a value of OPAMP PowerMode

Definition at line 71 of file stm32l4xx_hal_opamp.h.

Referenced by HAL_OPAMP_GetTrimOffset(), HAL_OPAMP_Init(), HAL_OPAMP_SelfCalibrate(), and HAL_OPAMPEx_SelfCalibrateAll().

Specifies the power supply range: above or under 2.4V. This parameter must be a value of OPAMP PowerSupplyRange Caution: This parameter is common to all OPAMP instances: a modification of this parameter for the selected OPAMP impacts the other OPAMP instances.

Definition at line 67 of file stm32l4xx_hal_opamp.h.

Referenced by HAL_OPAMP_Init().

Specifies the offset trimming value (NMOS) i.e. when UserTrimming is OPAMP_TRIMMING_USER. This parameter must be a number between Min_Data = 0 and Max_Data = 31 16 is typical default value

Definition at line 101 of file stm32l4xx_hal_opamp.h.

Referenced by HAL_OPAMP_Init(), HAL_OPAMP_SelfCalibrate(), and HAL_OPAMPEx_SelfCalibrateAll().

Specifies the offset trimming value (NMOS) i.e. when UserTrimming is OPAMP_TRIMMING_USER. This parameter must be a number between Min_Data = 0 and Max_Data = 31 16 is typical default value

Definition at line 111 of file stm32l4xx_hal_opamp.h.

Referenced by HAL_OPAMP_Init(), HAL_OPAMP_SelfCalibrate(), and HAL_OPAMPEx_SelfCalibrateAll().

Specifies the offset trimming value (PMOS) i.e. when UserTrimming is OPAMP_TRIMMING_USER. This parameter must be a number between Min_Data = 0 and Max_Data = 31 16 is typical default value

Definition at line 96 of file stm32l4xx_hal_opamp.h.

Referenced by HAL_OPAMP_Init(), HAL_OPAMP_SelfCalibrate(), and HAL_OPAMPEx_SelfCalibrateAll().

Specifies the offset trimming value (PMOS) i.e. when UserTrimming is OPAMP_TRIMMING_USER. This parameter must be a number between Min_Data = 0 and Max_Data = 31 16 is typical default value

Definition at line 106 of file stm32l4xx_hal_opamp.h.

Referenced by HAL_OPAMP_Init(), HAL_OPAMP_SelfCalibrate(), and HAL_OPAMPEx_SelfCalibrateAll().

Specifies the trimming mode This parameter must be a value of OPAMP User Trimming UserTrimming is either factory or user trimming.

Definition at line 92 of file stm32l4xx_hal_opamp.h.

Referenced by HAL_OPAMP_Init(), HAL_OPAMP_SelfCalibrate(), and HAL_OPAMPEx_SelfCalibrateAll().


The documentation for this struct was generated from the following file: