/* ** ################################################################### ** ** Filename : Events.C ** ** Project : IntFlash ** ** Processor : MC9S08GB60 ** ** Componenttype : Events ** ** Version : Driver 01.00 ** ** Compiler : Metrowerks HCS08 C Compiler ** ** Date/Time : 30.4.2003, 15:56 ** ** Abstract : ** ** This is user's event module. ** Put your event handler code here. ** ** Settings : ** ** ** Contents : ** ** IFsh1_OnEraseError - void IFsh1_OnEraseError(void); ** Cpu_OnSwINT - void Cpu_OnSwINT(void); ** ** ** Copyright: 1997 - 2009 Freescale Semiconductor, Inc. All Rights Reserved. ** ** ** ** http : www.freescale.com ** mail : support@freescale.com ** ** ################################################################### */ /* MODULE Events */ /*Including used modules for compilling procedure*/ #include "Cpu.h" #include "Events.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" /* ** =================================================================== ** Event : Cpu_OnSwINT (module Events) ** ** From Component : Cpu [MC9S08GB60] ** Description : ** This software event is called after software reset. ** Parameters : None ** Returns : Nothing ** =================================================================== */ void Cpu_OnSwINT(void) { /* Write your code here ... */ } /* ** =================================================================== ** Event : IFsh1_OnEraseError (module Events) ** ** From Component : IFsh1 [IntFLASH] ** Description : ** Event is called when a sector erase error occurred. This ** event allows user to deallocate the buffer with the ** stored data, even the OnRestoreBuffer event is not called ** because FLASH erase error. This event is only available ** when Safe write is selected in property. ** Parameters : None ** Returns : Nothing ** =================================================================== */ void IFsh1_OnEraseError(void) { /* Write your code here ... */ } /* END Events */ /* ** ################################################################### ** ** This file was created by Processor Expert 03.23 for ** the Freescale HCS08 series of microcontrollers. ** ** ################################################################### */