Which functions can I call from an ISR(Interrupt Service Routine)

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 04:31:02 -0800

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

  • 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: Calling sprintf from interrupt context
    ... So better not to use it from ISR, ... For debugging purpose printf can be used. ... it is ISR safe. ...
    (comp.os.vxworks)
  • Re: Which functions can I call from an ISR(Interrupt Service Routi
    ... I have just measured the ISR and IST latencys and for our purpose IST is too ... Best regards ... >> functions that can be called from an interrupt service routine, ... >> Standard functions like printf and so on cannot be used because blocking ...
    (microsoft.public.windowsce.platbuilder)
  • 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: query about printf
    ... it is non-re-enterant. ... I didn't get as to why printf is ... If you call a non-reentrant function from an ISR, ... would be blocking further interrupts for far too long. ...
    (comp.lang.c)