Resource handling inside ISRs
Posted: Fri Oct 19, 2012 10:10 am
Hello,
I need to acquire a resource from within an ISR2. I saw in the reference manual that it's possible to call GetResource()/ReleaseResource() inside these routines but I don't know how/where to declare that the ISR2 is using that resource. For the tasks, I just declare the used resources in the OIL file, but for the ISR2s I didn't find any information.
Thanks a lot!
I need to acquire a resource from within an ISR2. I saw in the reference manual that it's possible to call GetResource()/ReleaseResource() inside these routines but I don't know how/where to declare that the ISR2 is using that resource. For the tasks, I just declare the used resources in the OIL file, but for the ISR2s I didn't find any information.
Thanks a lot!