问题描述
大家好,
我一直在阅读实时计时器和RTOS功能。如果我们需要一个500微秒的软实时循环时间,我们首先需要一个定时器,它为我们提供每500微秒的分辨率。
我尝试了多媒体计时器并获得1毫秒分辨率。但它不能满足需要。
现在似乎只能用硬件计时器来完成这项任务。
我使用PC-104和嵌入式标准Windows 7。
现在问题是,是否可以使用软件完成此任务CPU占用率低的计时器?
Hi all,
I have been reading real time timers and RTOS capabilities. If we need a soft real time cycle time of 500 microseconds we first need a timer that provides us a tick on every 500 microseconds with a resolution.
I tried multimedia timer and obtained 1 milisecond resolution. But it doesn't satisfy the need.
Now it seems that it is only possible to achieve this task with a hardware timer.
I use a PC-104 and an embedded standard windows 7.
Now the question is, is it possible to do this task with a software timer with a low CPU usage?
这篇关于500微秒的实时循环周期的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!