2.75.10 OPAx_UnityGainEnable Function

C

/* x = OPA instance number */

inline static void OPAx_UnityGainEnable( bool enable );

Summary

Enables/disables unity gain of OPAx module of the device.

Description

This function sets or clears the unity gain enable bit for the OPAx module based on the input parameter.

Precondition

Ensure that the OPAx module is properly initialized before configuring unity gain.

Parameters

ParamDescription
enable If true, enables unity gain;.

If false, disables unity gain.

Returns

None.

Example

OPA1_UnityGainEnable(true); //enabled
OPA1_UnityGainEnable(false); //disabled

Remarks

None.