/* ** ################################################################### ** ** Filename : Events.H ** ** Project : InternalI2C ** ** Processor : MC68HC908AP64_48 ** ** Componenttype : Events ** ** Version : Driver 01.01 ** ** Compiler : Metrowerks HC08 C Compiler ** ** Date/Time : 06.10.2003, 10:06 ** ** Abstract : ** ** This is user's event module. ** Put your event handler code here. ** ** Settings : ** ** ** Contents : ** ** I2C1_OnTransmitData - void I2C1_OnTransmitData(void); ** I2C1_OnNACK - void I2C1_OnNACK(void); ** Cpu_OnSwINT - void Cpu_OnSwINT(void); ** ** ** Copyright: 1997 - 2009 Freescale Semiconductor, Inc. All Rights Reserved. ** ** ** ** http : www.freescale.com ** mail : support@freescale.com ** ** ################################################################### */ #ifndef __Events_H #define __Events_H /* MODULE Events */ #include "PE_Types.h" #include "PE_Error.h" #include "PE_Const.h" #include "IO_Map.h" #include "I2C1.h" void I2C1_OnTransmitData(void); /* ** =================================================================== ** Event : I2C1_OnTransmitData (module Events) ** ** From Component : I2C1 [InternalI2C] ** Description : ** This event is invoked when I2C finishes the transmission ** of the data successfully. This event is not available for ** the SLAVE mode. ** Parameters : None ** Returns : Nothing ** =================================================================== */ void I2C1_OnNACK(void); /* ** =================================================================== ** Event : I2C1_OnNACK (module Events) ** ** From Component : I2C1 [InternalI2C] ** Description : ** Called when no slave acknowledge (NAK) occurs during ** communication. This event is not available for the SLAVE ** mode. ** Parameters : None ** Returns : Nothing ** =================================================================== */ void Cpu_OnSwINT(void); /* ** =================================================================== ** Event : Cpu_OnSwINT (module Events) ** ** From Component : Cpu [MC68HC908AP64_48] ** Description : ** This software event is called after software reset. ** Parameters : None ** Returns : Nothing ** =================================================================== */ /* END Events */ #endif /* __Events_H*/ /* ** ################################################################### ** ** This file was created by Processor Expert 03.33 for ** the Freescale HC08 series of microcontrollers. ** ** ################################################################### */