regarding ISR

Jan 28, 2008 22 Replies

In most systems, the answer is NO.

Reasons:

a)Functions such as malloc() are typically not re-entrant.

b)The allocation would take too long (defeats the rationale of an ISR).

Generally, knowing what you may and may not do from within an ISR is one of the really important design rules of a system ...

David T. Ashley (dta@e3ft.com) http://www.e3ft.com (Consulting Home Page) http://www.dtashley.com (Personal Home Page) http://gpl.e3ft.com (GPL Publications and Projects)

It's on my cell phone or is that the phone in my cell? :-)

\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\ \/\/\/\/\ Chris Hills Staffs England /\/\/\/\/ /\/\/ chris@phaedsys.org www.phaedsys.org \/\/\ \/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/

en

ios:

one

ry

c.

Nice Explanation :):)

Karthik Balaguru

Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required