====== OSA : OS_Msg_Create ====== **OS_Msg_Create (msg_cb)**\\ === === {{osa:ref:attr_call_not_int.png|Not allowed in interrupt}} Create a pointer to message. After creation message is absent and pointer is zero. === Call allowed: === Not in interrupt === Parameters: === {| class = "fpl" |- |//''msg_cb''// |Pointer to message descriptor. Variable of ##[[en:osa:ref:description:data_types#OST_MSG_CB|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_Send|OS_Msg_Send]] * [[en:osa:ref:allservices:OS_Msg_Send_TO|OS_Msg_Send_TO]] * [[en:osa:ref:allservices:OS_Msg_Send_Now|OS_Msg_Send_Now]] * [[en:osa:ref:allservices:OS_Msg_Check|OS_Msg_Check]] * [[en:osa:ref:allservices:OS_Msg_Accept|OS_Msg_Accept]] * [[en:osa:ref:allservices:OS_Msg_Wait|OS_Msg_Wait]] * [[en:osa:ref:allservices:OS_Msg_Wait_TO|OS_Msg_Wait_TO]] ---- * [[en:osa:ref:services:alphabetical|Alphabetical]] * [[en:osa:ref:services:brieflist|All services]] ~~UP~~