1.2.2.1 1.3.2.1 1.4.2.1 1.5.2.1 1.8.2.1 1.9.1.1 1.14.1.1 1.15.1.1 1.16.1.1 1.17.1.1 1.18.1.1 1.19.1.1 1.20.1.1 1.21.1.1 1.25.1.1 1.26.1.1 1.27.2.1 1.28.2.1 1.29.2.1 1.30.2.1 1.31.2.1 1.32.2.1 1.33.2.1 1.35.1.1 1.36.1.1 1.37.2.1 1.38.2.1 1.39.1.1 1.40.2.1 1.41.1.1 ADCx_Initialize Function

C

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

Summary

Initializes given instance of ADC peripheral.

Description

This function initializes given instance of ADC peripheral of the device with the values configured in MCC GUI. Once the peripheral is initialized, peripheral can be used for conversion.

Precondition

MCC GUI should be configured with the right values.

Parameters

None.

Returns

None.

Example

ADC0_Initialize();
ADC_Initialize();

Remarks

This function must be called before any other ADC function is called. This function should only be called once during system initialization.