OS_Msg_Create (msg_cb)
Create a pointer to message. After creation message is absent and pointer is zero.
Not in interrupt
msg_cb
nothing
OST_MSG_CB msg_cb; void Task (void) { OS_Msg_Create (msg_cb); for (;;) { /*...*/ } }
OS_CreateMsg
For english spoken users http://www.pic24.ru
2008 © Alex B.