Jump to main content

##

# 2.75 Operational Amplifier (OPA)

This Plib implements software abstraction for OPA Peripheral.

## 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.

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