Clear the event occurring in a specified task.
-
Description:
-
- This API is used to set the ID of an event that has a specified mask and of which the information is stored in an event control block pointed to by pstEventCB to 0. pstEventCB must point to valid memory.
-
注意:
-
- The value of uwEvents needs to be reversed when it is passed-in.
-
参数:
-
|
参数名称 |
描述 |
|
pstEventCB |
[IN/OUT] Pointer to the event control block to be cleared. |
|
uwEvents |
[IN] Mask of the event to be cleared. |
-
返回值:
-
-
Dependency:
-
- los_event.h: the header file that contains the API declaration.
-
参见:
-
LOS_EventPoll |
LOS_EventRead |
LOS_EventWrite
-
自从:
-
Huawei LiteOS V100R001C00