This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

how to alloc memory in interrupt function

my problem is how to use malloc or free function in interrupt function,because the function like malloc() or free() is non_reentrant.But i have to do it in interrupt function to save memory. what shall i do? please help me!
i use timer0 to free the memory when memeory is no applied,but after three times,the timero is closed auto.
regards!!
thanks !!

0