/* ** ################################################################### ** ** Filename : Events.H ** ** Project : PWMMC2 ** ** Processor : MC68HC908MR32CFU ** ** Componenttype : Events ** ** Version : Driver 01.00 ** ** Compiler : Metrowerks HC08 C Compiler V-5.0.13 ** ** Date/Time : 11.07.2002, 11:53 ** ** Abstract : ** ** This is user's event module. ** Put your event handler code here. ** ** Settings : ** ** ** Contents : ** ** MPW1_OnReload - void MPW1_OnReload(void); ** MPW1_OnFault1 - void MPW1_OnFault1(void); ** MPW1_OnFault2 - void MPW1_OnFault2(void); ** MPW1_OnFault3 - void MPW1_OnFault3(void); ** MPW1_OnFault4 - void MPW1_OnFault4(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 "MPW1.h" void MPW1_OnReload(void); /* ** =================================================================== ** Event : MPW1_OnReload (module Events) ** ** From Component : MPW1 [PWMMC] ** Description : ** This event is called before PWM cycle according to reload ** frequency. (only when the Component is enabled - Enable and ** the events are enabled - EnableEvent). ** Parameters : None ** Returns : Nothing ** =================================================================== */ void MPW1_OnFault1(void); /* ** =================================================================== ** Event : MPW1_OnFault1 (module Events) ** ** From Component : MPW1 [PWMMC] ** Description : ** This event is called when fault 1 occurs. (only when the ** Component is enabled - Enable and the events are enabled - ** EnableEvent). ** Parameters : None ** Returns : Nothing ** =================================================================== */ void MPW1_OnFault2(void); /* ** =================================================================== ** Event : MPW1_OnFault2 (module Events) ** ** From Component : MPW1 [PWMMC] ** Description : ** This event is called when fault 2 occurs. (only when the ** Component is enabled - Enable and the events are enabled - ** EnableEvent). ** Parameters : None ** Returns : Nothing ** =================================================================== */ void MPW1_OnFault3(void); /* ** =================================================================== ** Event : MPW1_OnFault3 (module Events) ** ** From Component : MPW1 [PWMMC] ** Description : ** This event is called when fault 3 occurs. (only when the ** Component is enabled - Enable and the events are enabled - ** EnableEvent). ** Parameters : None ** Returns : Nothing ** =================================================================== */ void MPW1_OnFault4(void); /* ** =================================================================== ** Event : MPW1_OnFault4 (module Events) ** ** From Component : MPW1 [PWMMC] ** Description : ** This event is called when fault 4 occurs. (only when the ** Component is enabled - Enable and the events are enabled - ** EnableEvent). ** Parameters : None ** Returns : Nothing ** =================================================================== */ void Cpu_OnSwINT(void); /* ** =================================================================== ** Event : Cpu_OnSwINT (module Events) ** ** From Component : Cpu [MC68HC908MR32_64] ** Description : ** This software event is called after software reset. ** Parameters : None ** Returns : Nothing ** =================================================================== */ void BDLC1_OnTransmitData(void); /* ** =================================================================== ** Event : BDLC1_OnTransmitData (module Events) ** ** From Component : BDLC1 [BDLC] ** Description : ** This event is invoked when BDLC finishes the transmission ** of the frame (after EOF). ** Parameters : None ** Returns : Nothing ** =================================================================== */ void BDLC1_OnReceiveData(void); /* ** =================================================================== ** Event : BDLC1_OnReceiveData (module Events) ** ** From Component : BDLC1 [BDLC] ** Description : ** This event is invoked when BDLC receives frame (after EOF). ** Parameters : None ** Returns : Nothing ** =================================================================== */ void BDLC1_OnCRCError(void); /* ** =================================================================== ** Event : BDLC1_OnCRCError (module Events) ** ** From Component : BDLC1 [BDLC] ** Description : ** This event is called when CRC error occurs. ** Parameters : None ** Returns : Nothing ** =================================================================== */ void BDLC1_OnArbitrLost(void); /* ** =================================================================== ** Event : BDLC1_OnArbitrLost (module Events) ** ** From Component : BDLC1 [BDLC] ** Description : ** This event is called when lost of arbitration occurs ** during transmission. ** Parameters : None ** Returns : Nothing ** =================================================================== */ void BDLC1_OnError(void); /* ** =================================================================== ** Event : BDLC1_OnError (module Events) ** ** From Component : BDLC1 [BDLC] ** Description : ** This event is called when invalid bits or framing symbols ** occurs or BDLC transmits, but receives invalid bits ** (noise), or framing error occurs or bus short to VDD or ** to GND or BDLC receives BREAK symbol. ** Parameters : None ** Returns : Nothing ** =================================================================== */ void BDLC1_OnOverrun(void); /* ** =================================================================== ** Event : BDLC1_OnOverrun (module Events) ** ** From Component : BDLC1 [BDLC] ** Description : ** This event is called when input data buffer has overrun ** Parameters : None ** Returns : Nothing ** =================================================================== */ void MPW1_OnFault0(void); /* ** =================================================================== ** Event : MPW1_OnFault0 (module Events) ** ** From Component : MPW1 [PWMMC] ** Description : ** This event is called when fault 0 occurs. (only when the ** Component is enabled - and the events are enabled - ** ). (event is available only if interrupt ** service/event is enabled). ** Parameters : None ** Returns : Nothing ** =================================================================== */ /* END Events */ #endif /* __Events_H*/ /* ** ################################################################### ** ** This file was created by Processor Expert 02.89 for ** the Freescale HC08 series of microcontrollers. ** ** ################################################################### */