Hi TI engineer
We have used it to deliver message between cores for quite a long time.As I understand, we just push the infor into descriptor, then transfer the point to descriptor to target by the queue,isn't it?
So I don't understand that why we have to define the descriptor in the type of "HostPacketDescriptor"? Can I just define a struct for my application, the deliver its point by the queue?As followed code:
/**********************************************************************/
typedef struct {
short myMember[16];
}MyStruct;
MyStruct myStruct;
descriptor = pop(queue);
memcpy( descriptor , &myStruct, sizeof(myStruct));
push (queue, descriptor );
/**********************************************************************/
Is it OK?Looking forward to your reply, thank you.