可能是硬件中断而不是PXA270上的轮询? [英] Hardware interrupt instead of polling on PXA270 possible?

查看:55
本文介绍了可能是硬件中断而不是PXA270上的轮询?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我最近在ARM上学习NetMF。它允许托管代码注册到硬件中断事件,从而产生最大性能。

I recently studying NetMF on ARM. it allows managed code to register to hardware interrupt event which produces maximum performance.

我很想知道在PXA270上运行NetCF 2.0的可能性。我有一个运行在带有NetCF 2.0的WinCE 5.0上的设备,处理器是PXA270。

I am curious about possiblility of NetCF 2.0 running on PXA270. I have a device which runs on WinCE 5.0 with NetCF 2.0, the processor is PXA270.

我想在模拟状态改变(UART?)和串口(Modbus)里面注册事件处理程序托管代码(或通过core.dll等)。

I want to register event handler on analog state change (UART?) and Serial port (Modbus) inside managed code (or through core.dll, etc).

这可能吗?如何?

推荐答案

可能吗?也许群组。但现实是,这是一个坏主意。  Windows CE 5.0允许您这样做,但从Windows CE 6.0开始,您无法从应用程序访问硬件。 所以你最终会得到一个死胡同的解决方案。 
更好的解决方案是编写驱动程序来管理硬件。
Possible? maybe.  But the reality is that it is a bad idea.  Windows CE 5.0 will allow you to do it, but starting with Windows CE 6.0 you cannot access the hardware from your application.  So you would end up with a dead end solution.  A better solution would be to write drivers to manage your hardware.


这篇关于可能是硬件中断而不是PXA270上的轮询?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆