TI的技术支持:
你们好,请问:
SYS/BIOS中,clock和timer都有定时的功能,只是clock运行在swi中,timer运行在hwi中,但是在具体应用中,有什么区别?
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.
TI的技术支持:
你们好,请问:
SYS/BIOS中,clock和timer都有定时的功能,只是clock运行在swi中,timer运行在hwi中,但是在具体应用中,有什么区别?
简单的讲
clock 是基于timer的一种应用,而timer是基于硬件timer的应用
比如SYSBIOS中的时间调度都是基于clock提供的tick概念,而tick可以由一个timer配置得来,而timer本身是和硬件相关的。这里需要注意的是sysbios中timer ID 针对不同DSP平台,有不同的映射关系,对于C66系列DSP而言,你可以从如下资料中找到map关系
C:\ti\bios_6_33_05_46\packages\ti\sysbios\timers\timer64\doc-files\TimerTables.html