[En-Nut-Discussion] External interrupt on PE6
Ole Reinhardt
ole.reinhardt at kernelconcepts.de
Fri Jun 10 11:07:25 CEST 2005
> > Oh hell.. I think you have fully missunderstood the concept of
> > interrupts. You may never call an endless loop in a interrupt handler as
> > it will fully block your system.
>
> It might seem that way, but in this case this is exactly what i want.
> I want to use the hardware interrupt as a state of emergency. Nothing
> else may occur when it is triggered until the system resets.
Ahhh, ok :-) In this case you don't need the thread and the events. Only
register your interrupt and enter the "while" loop there.
You also could use the avr watchdog to reboot the system.
Bye,
Ole
--
kernel concepts Tel: +49-271-771091-14
Dreisbachstr. 24 Fax: +49-271-771091-19
D-57250 Netphen E+ : +49-177-7420433
--
More information about the En-Nut-Discussion
mailing list