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

ParamDescription
inputTypeselected differential input offset register type
unitVoltageselected 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.