> -----Original Message----- > From: D Lloyd [SMTP:dan.lloyd@GB.ABB.COM] > Sent: Wednesday, February 07, 2001 2:07 PM > To: PICLIST@MITVMA.MIT.EDU > Subject: Re: [PIC]: Return From Interrupt > > > Hi, > > This may be daft but does the compiler allow you to call functions from > interrupts? Generally, I keep things tight in the interrupt (certainly to > the point of writing some assembler over C) so no function calls are > performed......or, is your function call just an abstraction of what you > are actually doing, for the purpose of the example? > > Dan > There is no reason not to call functions from the ISR unless you absolutely must spend the minimum time possible in the interrupt function, which obviously depends on the rest of the code. Mike -- http://www.piclist.com hint: The PICList is archived three different ways. See http://www.piclist.com/#archives for details.