/* Clears the overflow condition on a sample sequence. */
void ADCSequenceOverflowClear(unsigned long ulBase, unsigned long ulSequenceNum)
/* Clears the overflow condition on a sample sequence. */
void ADCSequenceOverflowClear(unsigned long ulBase, unsigned long ulSequenceNum)
{
    ASSERT((ulBase == ADC0_BASE) || (ulBase == ADC1_BASE));
    ASSERT(ulSequenceNum < 4);
    HWREG(ulBase + ADC_O_OSTAT) = 1 << ulSequenceNum;
}