Writing an event handler

Event handler is a subroutine that is assigned to a specific event. After the event is enabled, Processor Expert generates the function with the specific name to the Event module. Refer to the Code generation for details.

You can open the Event handler code (if it already exists) using a component pop-up menu View/Edit event module or double-click on the event. The event handler is an ordinary function and you need not to provide the interrupt handling specific code in the event code.