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.

MSP430FR6989: maximum value of __delay_cycles()

Part Number: MSP430FR6989

Hello,
I am uisng a 16MHz clock. My question is that if I use the  "__delay_cycles();" function, what is the higiest value that I can use in it? for example,

           int i;
           //Wait 5 seconds
           for(i=0;i<5;i++)
           {
               __delay_cycles(16000000);
           }

If I use this code, I'll get a 5 second delay as my clock frequency is 16MHz. What is the maximum value that I can put in the "__delay_cycles();" function without using the for loop and why?

Thank You.

**Attention** This is a public forum