If I use combined access to semaphore2 hardware module, how to judge whether the semaphore has been acquired or is waiting for an grant interrupt and polling the sem flag?
thank you
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.
I found answer in TI's doc,that says:
"
If the semaphore is free, it is granted to the core making the request and the read returns
a “0x1”.
If the semaphore it is not free, the resulting read returns the ID of the core that
currently owns the semaphore.
"