Sample Description Code Generated Declare Event(nameid, itstaskid) Defines the code for declaring an Event (OS Object). This API is used when generating the code for declaring a Task EventThe code is generated in the file type_def.h For an Event defined to be a Task-Event. Define Event(nameid, itstaskid) Defines the code for defining an Event (OS Object). This API is used when generating the code for defining a Task Event.The code is generated in the file glob_dat.c For an Event defined to be a Task-Event. Create Event(nameid, itstaskid) Defines the code for creating an Event (OS Object). This API is used when generating the code for creating a Task Event. For an Event defined to be a Task-Event. Destroy Event(nameid, itstaskid) Defines the code for destroying an Event (OS Object). This API is used when generating the code for destroying a Task Event.The functionon_exit_code
is called at the end of the generated application. For an Event defined to be a Task-Event. Clear Event(nameid, itstaskid) Defines the code for clearing an Event (OS object). This API defines the code for clearing a single Task Event.The definition of this API will be used only if there is no definition for ClearMultipleEvent()For Tasks that have Task-Event related to them, the code of this API will be generated in the Task's code frame, after the code for the API: Get Event().The definition of this API will be generated in the file <module>.c For an Event defined to be a Task-Event. Get Event(nameid, itstaskid) Defines the code for getting an Event (OS Object). This API defines the code for clearing a single Task Event.The definition of this API will be used only if there is no definition for GetMultipleEvent()For Tasks that have Task-Event related to them, the code of this API will be generated in the Task's code frame, after the code for the API: Wait Event().The definition of this API will be generated in the file <module>.c For an Event defined to be a Task-Event. Set Event(nameid, itstaskid) Defines the code for setting an Event (OS Object). This API defines the code for setting a single Task Event.The definition of this API will be used in the definition of the GENERATE_EVENT macro for Events that are defined to be a Task Event.The macro is generated in the file macro_def.h For an Event defined to be a Task-Event. Wait Event(nameid, itstaskid) Defines the code for waiting for an Event (OS Object). Test for Event(nameid, itstaskid) Defines the code for testing an Event (OS Object). This API defines the code for testing if a single Task Event was generated.For Tasks that have Task-Event related to them, the code of this API will be generated in the Task's code frame, after the code for the API: Get Event(). For an Event defined to be a Task-Event.