/* ** ################################################################### ** ** Filename : Events.C ** ** Project : ExtInt ** ** Processor : 68HC908AZ0 ** ** Componenttype : Events ** ** Version : Driver 01.00 ** ** Compiler : Metrowerks HC08 C Compiler V-5.0.13 ** ** Date/Time : 15.01.2002, 15:13 ** ** Abstract : ** ** This is user's event module. ** Put your event handler code here. ** ** Settings : ** ** ** Contents : ** ** EInt1_OnInterrupt - void EInt1_OnInterrupt(void); ** ** ** Copyright: 1997 - 2009 Freescale Semiconductor, Inc. All Rights Reserved. ** ** ** ** http : www.freescale.com ** mail : support@freescale.com ** ** ################################################################### */ /* MODULE Events */ #pragma MESSAGE DISABLE C1420 /* WARNING C1420: Result of function-call is ignored */ /*Including used modules for compilling procedure*/ #include "Cpu.h" #include "Events.h" #include "EInt1.h" /*Include shared modules, which are used for whole project*/ #include "PE_Types.h" #include "PE_Error.h" #include "PE_Const.h" #include "IO_Map.h" volatile byte Counter=0; /* ** =================================================================== ** Event : EInt1_OnInterrupt (module Events) ** ** From Component : EInt1 [ExtInt] ** Description : ** This event is called when the active signal edge/level ** occurs. ** Parameters : None ** Returns : Nothing ** =================================================================== */ void EInt1_OnInterrupt(void) { Counter++; } /* END Events */ /* ** ################################################################### ** ** This file was created by Processor Expert 02.86 for ** the Freescale HC08 series of microcontrollers. ** ** ################################################################### */