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.
您好!
我们使用 HALCOGEN 为 TMS570LS3137控制器生成的代码。 在生成的代码中、几乎没有用于检查状态位的 while 循环。 下面是我要讨论的几个环路。
样片1:
文件名:sys_startup.c
函数名称: fterSTC()
代码:
while (((mibspiREG1->FLG & 0x01000000U)=0x01000000U)
{
}
样片2:
文件名:sys_selftest.c
函数名称:ccmSelfCheck()
代码:
while ((CCMSR & 0x100U)!= 0x100U)
{
}
生成这些 while 循环的位置也很少。 我想知道这些 while 循环中所经过的时间。 是否有任何文档可以捕获这些时间间隔?
谢谢、
Kalyan