www.beck-ipc.com

@CHIP-RTOS C Library - RTOS API


RTX_Create_EventGroup

Create an event group.

int RTX_Create_EventGroup ( unsigned int far *id_ptr,
                            const char far *name,
                            unsigned int init_value );

Parameters

id_ptr

Output parameter, pointer to where event group ID will be put by this function if successful.

name

Input parameter, 4 character name for new event group (need not be zero terminated, but must be 4 bytes).

init_value

Initial value of the 16 event flags of the group.

Return Value

0 on success else error code (no free event group available).

Comments

Each event group includes 16 event flags.   Each event group has a unique ID.   You can provide a unique 4 character tag to identify the event group, for use with the RTX_Find_EventGroup function.

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