-
clr_flg
-
ER clr_flg ( ID flgid, FLGPTN clrptn );
|
MOVW BC, #clrptn
MOV A, #flgid
CALL !!_clr_flg
|
|
|
|
|
ID flgid;
|
ID number of the eventflag to be cleared.
|
|
FLGPTN clrptn;
|
Bit pattern to clear (16 bits).
|
This service call sets the result of ANDing the bit pattern set to the eventflag specified by parameter
flgid and the bit pattern specified by parameter
clrptn as the bit pattern of the target eventflag.
Note 1 This service call does not perform queuing of clear requests. If the bit pattern has been cleared, therefore, no processing is performed but it is not handled as an error.
Note 2 If the bit pattern set to the target eventflag is B'1100 and the bit pattern specified by parameter
clrptn is B'1010 when this service call is issued, the bit pattern of the target eventflag is set to B'1110.
Note 3 This service call does not cancel tasks in the waiting state for an eventflag.