OS_Smsg_Send_I (smsg, smessage)
 
OS_Smsg_Send_I (smsg, smessage)
 
Send message msg_cb from interrupt routine. If msg_cb already exists then it will be overwritten.
OS_ENABLE_INT_SMSG constant must be defined in OSAcfg.h
Only in interrupt
| bEventError | If smsg is not free then OS_IsEventError will return true | 
OST_SMSG smsg; void interrupt isr(void) { OS_EnterInt(); /*...*/ OS_Smsg_Send_I (smsg, smessage); /*...*/ OS_LeaveInt(); } void Task (void) { for (;;) { /*...*/ /*...*/ } }
OS_IntSendSMsgNoWait