[En-Nut-Discussion] I/O ports Interruptions on Ethernut 1
Fernando Me Ga
ferradi at gmail.com
Tue Sep 28 19:38:42 CEST 2010
Hi everyone,
I'm trying for handler input digital port interruptions on Ethernut 1
but I am not sure about how to use them. In Ethernut 3 the example
I've found (AT91SAM7X-EK Port I/O on NutWiki) is
NutRegisterIrqHandler(&sig_PIOA, JoystickIsr, NULL);
outr(PIOA_IER, _BV(21) | _BV(22) | _BV(23) | _BV(24) | _BV(25));
NutIrqEnable(&sig_PIOA);
But the same for Ethernut 1??
Thank you.
More information about the En-Nut-Discussion
mailing list