1.2.2.3 1.3.2.3 1.4.2.3 1.5.2.3 1.9.1.3 1.16.1.3 1.17.1.3 1.18.1.3 1.19.1.3 1.20.1.3 1.21.1.3 1.29.2.3 1.30.2.3 1.31.2.3 1.32.2.3 1.33.2.3 1.37.2.3 1.38.2.3 1.39.1.3 1.40.2.3 ADCx_Disable Function

C

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

Summary

Disables given instance of ADC peripheral.

Description

This function disables 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();
//perform conversion
ADC0_Disable();

Remarks

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