[En-Nut-Discussion] External interrupts

Toby Smith s354335 at student.uq.edu.au
Mon Oct 13 08:49:21 CEST 2003


Whats the correct way to use the atmega103's external interrupts under
NutOS?

I've tried using avrgcc's INTERRUPT(signame) kind of thing, but then NutOS
seems to hang as soon as the external int is triggered.

I've also tried to use the interrupt registering functions I found in the
NutOS API, but to no success.

Can someone give me a small code snippet to show how to use the external
interuppts?


Thanks in advance.
--Toby




More information about the En-Nut-Discussion mailing list