OS_Queue_Send_Now (queue, message)
OS_Queue_Send_I (queue, message)
Send message to queue of messages. If queue is full then oldest message will be dropped.
OS_ENABLE_QUEUE constant must be defined in OSAcfg.h.
queue |
Queue of messages descriptor. Variable of OST_QUEUE type. |
message |
pointer to message body (OST_MSG) |
bEventError |
If queue is not free then OS_IsEventError will return true |
OST_QUEUE queue; void Task (void) { static char Data[10]; for (;;) { /*...*/ OS_Queue_Send_Now (queue, Data); /*...*/ } }
OS_SendQMsgNoWait