有一个延时函数
void Delay(volatile unsigned int count)
{
while(count--);
}
假如count=0x00FFFFFF 延时时间不是16777215/456M=0.037s吗? 实际上测试超过1s多?why?
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.
有一个延时函数
void Delay(volatile unsigned int count)
{
while(count--);
}
假如count=0x00FFFFFF 延时时间不是16777215/456M=0.037s吗? 实际上测试超过1s多?why?