The values of the AIDA_tenEventType enum are used in the AIDA_tstEvent structure to define the type of an AIDA event.
typedef enum {
AIDA_nenReceiveData = 0,
AIDA_nenTransmitData,
AIDA_nenTransmitDataDone,
AIDA_nenStatus,
AIDA_nenTimer
} AIDA_tenEventType;
Values
-
AIDA_nenReceiveData
-
When data is received the AIDA system generates an AIDA event of this type.
-
AIDA_nenTransmitData
-
An AIDA application has to create an event of this type and pass it to the AIDA system when it wants to transmit data.
-
AIDA_nenTransmitDataDone
-
The AIDA system will generate events of this type when data of an event of the type AIDA_nenTransmitData has successfully been sent.
-
AIDA_nenStatus
-
The AIDA system passes various status information to an AIDA application within events of this type. The application may use events of this
type to reconfigure the AIDA system synchronously.
-
AIDA_nenTimer
-
Events of this type are used by an application to activate or deactivate the generation of events of the type nTimer. Once activated the
AIDA system will generate AIDA_nenTimer events.
The following values except the last one are derived from the values of the AIDA_tenEventType enum and are used in functions that require an event mask:
AIDA_dwReceiveData
AIDA_dwTransmitData
AIDA_dwTransmitDataDone
AIDA_dwStatus
AIDA_dwTimer
AIDA_dwAllEvents
These values can be or'd together to form an event mask. AIDA_dwAllEvents has a special meaning: It specifies all possible types of events.
See Also
AIDA Overview, AIDA Structures And Datatypes, AIDA_tstParamList, AIDA_tstEvent