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.
亲爱的Champs:
能否告诉我MCU + SDK中的内核是否支持原子命令/函数?
我的客户在MCU+ SDK中发现了'Atomy.h',但'Atom.h'中的大多数功能似乎不能用于内核。
是否可以在'Atomy.h'中使用原子函数/命令进行内核操作?
是否有这方面的例子? 是否有在AMP中同步内核间线程的示例?
我的客户现在正在使用MCU+ SDK v 8.2 和FreeRTOS。
谢谢,此致,
SI。
SI,您好!
使用的是自旋锁。 API位于 C:\ti\MCU_PLUS_SDK_am243x_08_02_00_31\SOURCE \DRIVERS\spinlock\V0\spinlock.h中,使用的示例位于C:\ti\MCU_plus_SDK_am243x_08_02_00_31\examples\IPC\IPC_spindlock_spirdlet_sharem\ipc_me.spinspinspirdlock中 有关自旋锁的更多详细信息,请参阅TRM。
此致,
明