/* This function reads the oldest value in the ADC fifo and then pops the fifo. Use this function when you actually want to pull data out of the fifo.  */
uint32_t am_hal_adc_fifo_pop(void)
/* This function reads the oldest value in the ADC fifo and then pops the fifo. Use this function when you actually want to pull data out of the fifo.  */
uint32_t am_hal_adc_fifo_pop(void)
{
    uint32_t ui32FIFOValue;
    ui32FIFOValue = AM_REG(ADC, FIFO);
    AM_REG(ADC, FIFO) = 0;
    return ui32FIFOValue;
}