1.9.1.24 ADC_EOSStatusGet Function

C

bool ADC_EOSStatusGet(ADC_CORE_NUM core)

Summary

Indicates whether End of scan interrupt flag is set on the specified ADC core

Description

Indicates whether End of scan interrupt flag is set on the specified ADC core

Precondition

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

Parameters

Param Description
core ADC core n

Returns

bool - True if EOS interrupt flag is set, False if EOS interrupt flag is not set

Example

if (ADC_EOSStatusGet(ADC_CORE_NUM1))
{
    // ADC conversion is complete. Read the conversion result.
}

Remarks

None