1.6.2.13 ADCHS_EOSStatusGet Function

C

bool ADCHS_EOSStatusGet(void)

Summary

Returns the status of the end of scan interrupt flag

Description

This function returns the status of the end of scan interrupt flag. End Of Scan (EOS) interrupt is set after the last channel in the scan sequence completes the conversion.

Precondition

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

Parameters

None

Returns

false - scan sequence conversion ongoing true - scan sequence conversion is complete

Example

bool ch_status;
ADCHS_Initialize();
ADCHS_ModulesEnable(ADCHS_MODULE0_MASK);
ADCHS_ConversionStart();
ch_status = ADCHS_EOSStatusGet();

Remarks

None