1.2.2.2 1.3.2.2 1.4.2.2 1.5.2.2 1.9.1.2 1.16.1.2 1.17.1.2 1.18.1.2 1.19.1.2 1.20.1.2 1.21.1.2 1.29.2.2 1.30.2.2 1.31.2.2 1.32.2.2 1.33.2.2 1.37.2.2 1.38.2.2 1.39.1.2 1.40.2.2 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.