i.MX21 (ADS21) GPIO interrupt

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

i.MX21 (ADS21) GPIO interrupt

2,411件の閲覧回数
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 返答(返信)

948件の閲覧回数
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 件の賞賛
返信

948件の閲覧回数
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 件の賞賛
返信