1.5.24.7 SDADC_ConversionSequenceIsFinished Function

C

bool SDADC_ConversionSequenceIsFinished( void )

Summary

Returns the status of automatic sequence conversion.

Description

This function checks the status of the conversion sequence.

Precondition

SDADC_Initialize() function must have been called first for the associated instance.And conversion must have been started.

Parameters

None.

Returns

true - all the enabled channels in the sequence have finished conversion false - sequence conversion is ongoing

Example

bool seq_status;
SDADC_Initialize();
SDADC_ConversionStart();
seq_status = SDADC_ConversionSequenceIsFinished();

Remarks

This function is valid only if auto sequence feature is enabled.