AnsweredAssumed Answered

ADZS BF 548 for loop delay

Question asked by amar26121993 on Jun 29, 2017
Latest reply on Jul 7, 2017 by Jithul_Janardhanan

Hi everybody

Iam using ADZS BF 548 evaluation board,i need to implement 1msec delay usinf for loop,how much time i need to run the for loop?

if i call 

Delay_Loop(1); will it generate 1 msec delay?

 

void Delay_Loop( int nDelay )
{
int i = 0;

for( ; i < nDelay; i++ )
{
asm("nop;");
}
}

 

any calculation is there ,please let me know,thanks for reply in advance

 

in emergency

best regards

Amar TR

Outcomes