i.MX21 (ADS21) GPIO interrupt

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

i.MX21 (ADS21) GPIO interrupt

2,336 Views
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
 
 
Labels (1)
0 Kudos
Reply
2 Replies

873 Views
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 Kudos
Reply

873 Views
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 Kudos
Reply