IPC@CHIP® RTOS-PPC – API Documentation

Header image

Main page


RTX_EC RTX_Signal_Events ( RTX_ID  id,
unsigned int  event_mask,
unsigned int  event_value 
)

Signal that one or more events in a group have occurred by setting the event flags to specified states. If any tasks are waiting on these events, the Event Manager will now wake them up, provided that all of the events that the task was waiting on have reached the required states. An immediate task switch will occur if a task is released from an Event Group block which has higher priority than the task calling this API.

This API modifies the Event Group bits marked by ones in the event_mask to either '1' or '0' based on the values of the corresponding bits in the event_value parameter.

Event Group bits which are zero in the event_mask are unaffected.

Note that "event occurred" condition can be either a bit '1' or '0'. This is application defined and is specified by the value supplied to the RTX_Wait_For_Event() call.

This API may be called from inside an RTX ISR.

Parameters:
id Event Group handle
event_mask Mask with 1 bits to indicate which of the 32 bits in the Event Group are affected.
event_value Values to be applied to Event Group flags under the mask.
Returns:
Zero on success, else error code.
See also:
RTX_Strobe_Events()     RTX_Wait_For_EventP()
Since:
SC2x3 V1.00 - CLIB V1.00





Top of page | Main page

Copyright © 2017 Beck IPC GmbH
Generated on Thu Jan 26 16:21:36 2017 by Doxygen 1.6.1