如题,空操作指令的头文件及书写方式是怎样的?
我试过 _NOP() 和 _NOP()_ 都没编译成功,不知是头文件不对还是书写方式不对?
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.
不记得有这种空指令。目前还没遇到过要用的场景,如果是为了等待某些中断,直接就是while(1)了;如果是为了等待寄存器的写入,就用while读寄存器或者状态标志位。请问你用到这个指令的场景是怎样的?可否分享一下?