Events editor

It allows you to configure the events of the component.

The created events are listed on the left side, and properties of the selected event are displayed on the right side. To add an event, right-click the Events element and select Add Event as shown in the figure below.

Figure 1. Events screen



The figure below shows the event editor.

Figure 2. Events editor screen



This table explains the fields of Event Editor.

Table 1. Events editor
Field Description
Name Name of the event
Symbol Name of the event (the same name as in the left window)
DefineSymbol Determines the way how the item value will be defined for macroprocessor
EventName Name of the event procedure
EventScope How the event will be inherited by default
Expanded Determines if the group is expanded
Hint Hint displayed in the Processor Expert environment and event description of the help file
IsInAssembler If the event is implemented in Assembler or in C
ItemLevel It determines at what configuration level of Processor Expert in CodeWarrior this property will be shown. If set as Basic, the property will be shown when basic view is selected. If set as Expert, it will only be shown when expert view is selected
Priority Determines the priority of the event routine
ReadOnly If the event is in Processor Expert read only, the Value cannot be changed (that is, if you generate code or don't generate code)
Selected Generation source code into the driver (in Processor Expert Code design). There are four possibilities:
  • selYES - Event will be generated; it can be changed in Processor Expert (sets ReadOnly to false and Value to true)
  • selNO - Event will not be generated; it can be changed in Processor Expert (sets ReadOnly to false and Value to false)
  • selNEVER - Event will not be generated; it cannot be changed in Processor Expert (sets ReadOnly to true and Value to false)
  • selALWAYS - Event will be always generated; it cannot be changed in Processor Expert (sets ReadOnly to true and Value to true)
TypeChangeAble It determines if the item type may be changeable in CHG script
Value Evaluates if the event is included in the component (it will be generated into the driver or not in Processor Expert code design)

To view parameters of an Event, click Parameters tab in the editor as shown in the figure below.

Figure 3. Event parameters screen



This table explains the fields of event parameters.

Table 2. Event parameters
Field Description
Name Name of the parameter displayed and used in Processor Expert
Type Type of the parameter (selected from the list)
Passing Type of passing parameter to the method
Hint Hint for the parameter displayed in the Processor expert environment and parameter description in help files