This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CCS/LAUNCHXL-F28379D: Delay in ADC

Part Number: LAUNCHXL-F28379D

Tool/software: Code Composer Studio

Hello Team TI,

I want to understand the work of Delay(1000) in following lines,

void ConfigureADC(void)
{
    EALLOW;

    //write configurations

    AdcaRegs.ADCCTL2.bit.PRESCALE = 6;                      //set ADCCLK divider to /6

    AdcSetMode(ADC_ADCA, ADC_RESOLUTION_12BIT, ADC_SIGNALMODE_SINGLE);

    AdcaRegs.ADCCTL1.bit.INTPULSEPOS = 1;                   //Set pulse positions to late

    AdcaRegs.ADCCTL1.bit.ADCPWDNZ = 1;                      //power up the ADC

    DELAY_US(1000);                                         //delay for 1ms to allow ADC time to power up

    EDIS;
}