This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

LPC1768

hello
i have found following code to make a delay in my micro
but i can not understand some of the sentences
i am not professional
does any one friend help me?
what is the meaning of {unit32_t},{__INLINE static void Delay (uint32_t dlyTicks)}

#include "LPC17xx.h"
volatile uint32_t msTicks; /* counts 1ms timeTicks */
void SysTick_Handler(void) { msTicks++; /* increment counter necessary in Delay() */
} __INLINE static void Delay (uint32_t dlyTicks) { uint32_t curTicks;

curTicks = msTicks ; while ((msTicks - curTicks) < dlyTicks) ;
} tnx