[En-Nut-Discussion] External interrupts

Damian Slee damian at commtech.com.au
Mon Oct 13 09:13:30 CEST 2003


I've used SIGNAL(SIG_OVERFLOW1) for timer1 overflow.

INTERRUPT re-enables interrupts again straight away (I think).  So some other interrupt may be interrupting your interrupt?

just a guess.


-----Original Message-----
From: Toby Smith [mailto:s354335 at student.uq.edu.au]
Sent: Monday, 13 October 2003 2:49 PM
To: en-nut-discussion at egnite.de
Subject: [En-Nut-Discussion] External interrupts


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

_______________________________________________
En-Nut-Discussion mailing list
En-Nut-Discussion at egnite.de
http://www.egnite.de/mailman/listinfo/en-nut-discussion



More information about the En-Nut-Discussion mailing list