-
can_wup
ican_wup
-
Cancel task wakeup requests.
ER_UINT can_wup ( ID tskid );
ER_UINT ican_wup ( ID tskid );
|
MOV A, #tskid
CALL !!_can_wup
MOV A, #tskid
CALL !!_ican_wup
|
|
|
|
|
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.
|
|
|
|
|
Object state error (specified task is in the DORMANT state).
|
|
|
Normal completion (wakeup request count: positive value or 0).
|