www.beck-ipc.com

@CHIP-RTOS C Library - RTOS API


RTX_Create_Msg

A message exchange must be created by an application before it can be used.   The Message Exchange Manager outputs a 16-bit unique ID to the caller from this call.   You can provide a unique 4 character tag to identify the message exchange.

int RTX_Create_Msg ( RTX_Msg far *msg_ptr );

Parameters

msg_ptr

Input/Output parameter, pointer to a RTX_Msg structure.

Return Value

0 on success else error code.

Comments

The caller must to fill in portions of the RTX_Msg structure prior to calling.   The new message exchange's ID (handle) is returned in this structure.

See Also

RTOS API

This library function invokes a RTOS software interrupt. Refer to this RTOS API function's documentation for more details.

Related Topics

RTX API   Overview

Supported since or modified in @CHIP-RTOS version

    SC12SC13SC11SC1x3SC2x
    V1.00V1.00V1.00V0.90V1.00

This API List
List of C Libraries
@CHIP-RTOS Main Index


End of document