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.
IPC_MessageQueue_t的定义如下
问题1. 这个结构中的
uint32_t PutFlag;
uint16_t * PutWriteIndex;
uint16_t * PutReadIndex;
uint16_t * GetWriteIndex;
uint16_t * GetReadIndex;
这些变量应该怎么用呢,没有看到相关的例子
问题2.
这段代码 是将定义的TxMsg赋值给IPC_MessageQueue_t中的PutBuffer吗
这段代码 是将定义的RxMsg赋值给IPC_MessageQueue_t中的GetBuffer吗
您好,您可以看一下相关函数的实现,里面有涉及到这些参数的使用:
这段代码 是将定义的TxMsg赋值给IPC_MessageQueue_t中的PutBuffer吗
是的;
这段代码 是将定义的RxMsg赋值给IPC_MessageQueue_t中的GetBuffer吗
是RxMsg读取GetBuffer。