Jump to main content

##

# 2.3.9 ADCx_Enable Function

## C

    void ADCx_Enable( void ); // x is instance of the peripheral and it is applicable only for devices having multiple instances of the peripheral.

## Summary

Enables given instance of ADC peripheral.

## Description

This function enables the given instance of ADC.

## Precondition

ADCx_Initialize() function must have been called first for the associated instance.

## Parameters

None.

## Returns

None.

## Example

    ADC0_Initialize();
    ADC0_Enable();

## Remarks

If ADC instance is operating in slave mode, do not call ADCx_Enable function. Slave ADC is enabled by master ADC.