Available Languages?:

OSA : OS_Msg_Create

OS_Msg_Create (msg_cb)

Not allowed in interrupt

Create a pointer to message. After creation message is absent and pointer is zero.

Call allowed:

Not in interrupt

Parameters:

msg_cb Pointer to message descriptor. Variable of OST_MSG_CB type

Returns:

nothing

Example:

OST_MSG_CB msg_cb;
 
void Task (void)
{
    OS_Msg_Create (msg_cb);
    for (;;) {
        /*...*/
    }
}

Old style name

OS_CreateMsg

See also

 
en/osa/ref/allservices/os_msg_create.txt · Last modified: 07.10.2010 13:56 (external edit)
 
Creative Commons License Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki