1.9.1.26 ADC_FIFORead Function

C

uint32_t ADC_FIFORead(void)

Summary

Returns a single ADC conversion value from the ADC FIFO

Description

Returns a single ADC conversion value from the ADC FIFO

Precondition

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

Parameters

None

Returns

uint32_t - ADC result value

Example

uint32_t adc_result;

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

Remarks

None