[ECOS] If delay() function is called in an isr() with interrupt disabled...

Gary Thomas gthomas@ecoscentric.com
Tue Oct 15 06:08:00 GMT 2002


On Tue, 2002-10-15 at 05:25, Qiang Huang wrote:
> Hi all:
>      I wonder which priority should the RTC be? If the delay() function
> depends on the system RTC so if it is called in an isr() (which with
> interrupt disabled) anything wrong?

You can't call any function which depends on interrupts (or even higher
level scheduling) from an ISR.

> Thanks a lot
> qiang
> 
> 
> 
> -- 
> Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
> and search the list archive: http://sources.redhat.com/ml/ecos-discuss

-- 
------------------------------------------------------------
Gary Thomas                  |
eCosCentric, Ltd.            |  
+1 (970) 229-1963            |  eCos & RedBoot experts
gthomas@ecoscentric.com      |
http://www.ecoscentric.com/  |
------------------------------------------------------------


-- 
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss



More information about the Ecos-discuss mailing list