i.MX21 (ADS21) GPIO interrupt

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

i.MX21 (ADS21) GPIO interrupt

2,338 次查看
Mario
Contributor I
Hi,
 
Has anyone had success creating gpio interrupts for the ADS21 board?  I looked at the GpioClass.cpp and the mx21ddk.dll, they contain methods to access gpios and enable/disable interrupts, but I did not find any methods to catch a gpio event from which I can call from a managed code application. 
 
The alternative that I thought of was to extend the keyboard library, i.e. make it more than 6X6 as used in the board. 
 
Any pointers where I can find information/documents on how to implement any of the two points above is appreciated.  Also, if this is the wrong forum to post this kind of question, I would appreicate it if you could point me tot he right forum.  Thanks.
 
--mario
 
 
标签 (1)
0 项奖励
回复
2 回复数

875 次查看
Mario
Contributor I
Hi,
 
Forgot to mention that I am running WinCe 5.0 on this board and my managed app is in C#.
 
-- mario
0 项奖励
回复

875 次查看
nyrbyk
Contributor I
I' ve done interrupt catching from GPIO under WinCe5.00 but using Plateform builder and C code so you can activate interrupt from GPIO (:-)).

But for that you need to register interrupt handler using WinCe function as KernelLibIOCtrl etc..

See WinCE doc on MSDN web site for details. But accesing this with managed code won't be direct I think

Nyrbyk
0 项奖励
回复