|
時(shí)間函數(shù)求解讀void Dly100us(void *arg)
{
u32 Dely=(u32)arg;
while(Dely--)
{
(int i=LOOP_DLY_100US;i; i--); //LOOP_DLY_100US=2000
}
}
void Simple_delay_750ns(void *arg) // With arg 1, gives 750ns delay
{
u32 Dely=(u32)arg;
(int i=Dely; (i!=0); i--);
}
|
|