Hi,
I've a function for error handling, that does some System_printf(). It is called from various Tasks and HWIs. I'm using SYSStd what does not work on HWI and SWIs, therefore I want to check if it is running on a Task.
Is there a function to distinguish in what content a function is executed?
Is something like that working:
if(Task_self()==NULL)
{
//HWI or SWI
}else
{
//Task
}
I'm using SYS/Bios 6.33.06.50 with CCS 5.2 on a C6670
Thanks,
Sebastian