Jump to main content

##

# 2.75.8 OPAx_OffsetCorrection Function

## C

    /* x = OPA instance number */

    inline static void OPAx_OffsetCorrection(OPA_OFFSET_INPUT_TYPE inputType, OPA_OUTPUT_VOLTAGE_OFFSET_CORRECTION unitVoltage);

## Summary

Enables/disables Enables output of OPA module to ADC.

## Description

This inline function enables/disables Enables output of OPA module to ADC.

## Precondition

Unit voltage = trim step voltage 3 mV.

## Parameters

Param | Description
inputType | selected differential input offset register type
unitVoltage | selected unit voltage

## Returns

None.

## Example

    // Set the OPA module to correct for a positive offset
    OPA_OffsetEvent offsetEvent = OPA_OFFSET_EVENT_POSITIVE;
    OPA_SetOffsetEvent(offsetEvent);

## Remarks

None.