Re: Which functions can I call from an ISR(Interrupt Service Routi

Tech-Archive recommends: Speed Up your PC by fixing your registry

From: Håkan Andersson (HkanAndersson_at_discussions.microsoft.com)
Date: 01/27/05


Date: Thu, 27 Jan 2005 07:07:03 -0800

OK.
But since we need very fast respons in our control-system(below 20 µs) we
are planning to have some control code in the ISR because having them in an
IST would be too slow.
I have just measured the ISR and IST latencys and for our purpose IST is too
slow.

Best regards
Håkan Andersson

"Dean Ramsier" wrote:

> Basically nothing can be called from an ISR. An ISR should do nothing but
> figure out what caused the interrupt, and return the appropriate SYSINTR to
> the operating system.
>
> --
> Dean Ramsier - eMVP
>
>
> "Håkan Andersson" <HkanAndersson@discussions.microsoft.com> wrote in message
> news:A55D263A-495A-4D8E-90DF-8042F0FFBBFB@microsoft.com...
> > Hello !
> >
> > Does anybody know if there are some special library with
> > functions that can be called from an interrupt service routine, ISR.
> > Standard functions like printf and so on cannot be used because blocking
> can
> > occur.
> >
> > I have heard that there should be functions with the prefix SC_.... for
> this
> > purpose, but I haven't found any information on this.
> >
> > Regards
> >
>
>
>



Relevant Pages

  • Which functions can I call from an ISR(Interrupt Service Routine)
    ... functions that can be called from an interrupt service routine, ISR. ... Standard functions like printf and so on cannot be used because blocking can ...
    (microsoft.public.windowsce.platbuilder)
  • Re: microcontroller AT89S52 programing advice
    ... A loop in an interrupt service routine? ... He's using the loop to refresh the LEDs and provide a delay, ... That code should not be in the ISR. ...
    (comp.arch.embedded)
  • Re: How do I get the program counter of another process (PowerPC)?
    ... I solved the problem by using an interrupt service routine instead of ... I attach my ISR to the clock ticker IRQ vector ... special register SRR0 contains the program counter to which the ISR ...
    (comp.os.os9)
  • Re: NMI isr
    ... If you can tell us why you're trying to write an *interrupt service routine* ... for a *non-maskable interrupt* (NMI) on Linux then maybe we can help. ... > Can someone show me how to setup NMI ISR under Linux for x86 arch? ...
    (alt.os.linux)
  • Re: Why ISR contains no arguments and return type is void
    ... > ISR and also why the ISR returns nothing. ... > With Regards, ... > Sudheervemana. ... no caller, no telling where program flow is at the time of the interrupt, etc,,. ...
    (comp.arch.embedded)