1.36.1.6 ADCx_ConversionStart Function

C

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

Summary

Starts the ADC conversion with the software trigger.

Description

This function triggers the ADC conversion of the selected channel

Precondition

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

Parameters

None.

Returns

None.

Example

ADC0_Initialize();
ADC0_ConversionStart();

Remarks

This function should be called for each conversion when SW trigger for conversion is selected.