Jump to main content

##

# 2.75.9 OPAx_OutputMonitorEnable Function

## C

    /* x = OPA instance number */

    inline static void OPAx_OutputMonitorEnable( bool enable );

## Summary

Enables/disables the output of OPAx module to ADC of the device.

## Description

This inline function sets or clears the output monitor enable bit for the OPAx module based on the input parameter.

## Precondition

Ensure that the OPAx module is properly initialized before configuring the output monitor.

## Parameters

Param | Description
enable | If true, enables the output monitor. If false, disables the output monitor.

## Returns

None.

## Example

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

## Remarks

None.