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

disabling an interrupt like in a task

hello,
I have a task that needs to query the value of a global variable that is also accessed in an ISR. it is a mistake to have the task scheduler preempt my task while the interrupt like is disabled, so I can access it safely?

0