2.75 Operational Amplifier (OPA)

This Plib implements software abstraction for OPA Peripheral.

Library Interface

Operational Amplifier peripheral library provides the following interfaces:

Functions

NameDescription
OPAx_InitializeInitializes 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_DisableDisables the OPAx module of the device
OPAx_UnityGainEnable

Enables/disables unity gain of OPAx module of the device

OPAx_HighPowerModeEnableEnables/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_DifferentialInputModeSetSets the differential input mode for the OPAx module of the device.
OPAx_OffsetCorrectionEnables/disables Enables output of OPA module to ADC of the device

Data types and constants

NameDescription
OPA_DIFFERENTIAL_INPUT_MODESelecting 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.

Note: Not all APIs maybe implemented. See the specific device family section for available APIs.