Jump to main content

##

# 2.75.5 OPAx_HighPowerModeEnable Function

## C

    /* x = OPA instance number */

    inline static void OPAx_HighPowerModeEnable( bool enable );

## Summary

Enables/disables high power mode of OPAx module of the device.

## Description

This inline function sets or clears the High Power Mode enable bit for the OPAx module based on the input parameter.

## Precondition

Ensure that the OPAx module is properly initialized before configuring High Power Mode.

## Parameters

Param | Description
enable | If true, enables High Power Mode. If false, disables High Power Mode.

## Returns

None.

## Example

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

## Remarks

None.