-
can_wup
ican_wup
-
Cancel task wakeup requests.
ER_UINT can_wup (ID tskid);
ER_UINT ican_wup (ID tskid);
|
|
|
|
ID tskid;
|
ID number of the task for cancelling wakeup requests.
Value: ID number of the task for cancelling wakeup requests.
|
These service calls cancel all of the wakeup requests queued to the task specified by parameter
tskid (the wakeup request counter is set to 0x0).
When this service call is terminated normally, the number of cancelled wakeup requests is returned.
|
|
|
|
|
- tskid > Maximum ID number
- When this service call was issued from a non-task, TSK_SELF was specified tskid.
|
|
|
- This service call was issued in the CPU locked state.
|
|
|
- Specified task is in the DORMANT state.
|
|
|
- Specified task is not registered.
|
|
|
Normal completion (wakeup request count).
|