Jump to main content

##

# 3.2.14 Operational Amplifier (OPAMP)

An operational amplifier is a type of analog circuit that is designed to amplify the difference between the inputs non-inverting (positive) and inverting (negative) inputs. Op amps can be connected in Inverting and Non Inverting Applications and are commonly used to buffer or amplify signals, such as the signals from sensors, current shunts and resistive dividers.

## Using The Library

The op amp modules implemented in particular family devices provide the following features:

• 100 MHz Gain Bandwidth

• High-Power and Low-Power Operating Modes

• Complementary P and N Channel Differential Pairs on the Input

• User Adjustable Offset

## Library Interface

Operational Amplifier peripheral library provides the following interfaces:

Functions

Name | Description
--- | ---
OPAx_Initialize | Initializes the OPAx module of the device
OPAx_Deinitialize | Deinitializes the OPAx module of the device
OPAx_Enable | Enables the OPAx module of the device
OPAx_Disable | Disables the OPAx module of the device
OPAx_UnityGainEnable | Enables/disables unity gain of OPAx module of the device
OPAx_HighPowerModeEnable | Enables/disables high power mode of OPAx module of the device
OPAx_OutputMonitorEnable | Enables/disables the output of OPAx module to ADC of the device.
OPAx_DifferentialInputModeSet | Sets the differential input mode for the OPAx module of the device.
OPAx_OffsetCorrection | Enables/disables Enables output of OPA module to ADC of the device

Data types and constants

Name | Description
OPA_DIFFERENTIAL_INPUT_MODE | Selecting the differential input mode of the OPAx module
OPA_OFFSET_INPUT_TYPE | Selecting the offset correction type for the OPAx module
OPA_OUTPUT_VOLTAGE_OFFSET_CORRECTION | Selecting the output voltage offset correction for the OPAx module.