Other Parts Discussed in Thread: SYSBIOS
Tool/software: TI-RTOS
Dear Experts,
Is it safe to call Hwi_disable in an interrupt handler (both in SMP and non-SMP mode)? I am using sysbios version bios_6_46_01_38.
Thank you,
Jakub
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Tool/software: TI-RTOS
Dear Experts,
Is it safe to call Hwi_disable in an interrupt handler (both in SMP and non-SMP mode)? I am using sysbios version bios_6_46_01_38.
Thank you,
Jakub
Hi Jakub,
To the best of my knowledge, it is safe to call Hwi_disable() from within an interrupt handler as long as it is paired with a Hwi_restore(). You want to disable interrupts for a short period of time in order to not adversely effect the real-time behavior of the application.
Best,
Ashish