OS_Squeue_Send (squeue, smessage)
OS_Squeue_Send_I (squeue, smessage)
Send simple message to queue of simple messages. If queue is full then wait for free space.
OS_ENABLE_SQUEUE constant must be defined in OSAcfg.h.
Only in task
squeue |
Queue of simple messages descriptor. Variable of OST_SQUEUE type. |
smessage |
Message body (OST_SMSG) |
nothing
OST_SQUEUE squeue; void Task (void) { for (;;) { /*...*/ OS_Squeue_Send (squeue, 'L'); /*...*/ } }
OS_SendQSMsg