Jump to main content

##

# 2.18.4 CMPx_DACEnable Function

## C

    // x is the instance number of the CMP peripheral
    inline static void CMPx_DACEnable(void)
    {
        DAC1CONbits.DACEN = 1U;
    }

## Summary

Enables the individual DAC module.

## Description

This function enables the individual DAC module.

## Precondition

None.

## Parameters

None.

## Returns

None.

## Example

    CMPx_DACEnable();

## Remarks

None.