228
K
A
DAK
AMX 86 Procedures
ajevrd ajevrdPurpose Read the Current Event States in an Event Group
Used by n Task n IS P n Timer Procedure n Restart Procedure n Exit Procedure
Setup AMXID group;
unsigned int value;
int status;
.
.
status = ajevrd(group, &value);
AX BX CX=
Where group is the group id of an event group acquired with a call to ajevcre.
&value is a pointer to storage to receive the current state of the 16 event
flags of the particular event group.
Results Interrupts are untouched.
Status is returned.
AEROK = Call successful
AERNSG = Invalid event group id
If status is not AEROK, the variable value is unaltered.
Note Ajevrd differs from ajevnt. Ajevrd gives you the current state of all 16
event flags of a particular event group. Ajevnt gives a task the state of all
16 event flags at the completion of that task's most recent call to ajevwat.
See Also ajevnt