/* ** ################################################################### ** ** Filename : Events.H ** ** Project : TEst ** ** Processor : MC68HC908AS60ACFU ** ** Componenttype : Events ** ** Version : Driver 01.00 ** ** Compiler : Metrowerks HC08 C Compiler V-5.0.13 ** ** Date/Time : 15.05.2002, 09:27 ** ** Abstract : ** ** This is user's event module. ** Put your event handler code here. ** ** Settings : ** ** ** Contents : ** ** BDLC1_OnTransmitData - void BDLC1_OnTransmitData(void); ** BDLC1_OnReceiveData - void BDLC1_OnReceiveData(void); ** BDLC1_OnCRCError - void BDLC1_OnCRCError(void); ** BDLC1_OnArbitrLost - void BDLC1_OnArbitrLost(void); ** BDLC1_OnError - void BDLC1_OnError(void); ** BDLC1_OnOverrun - void BDLC1_OnOverrun(void); ** BDLC1_OnIFROverrun - void BDLC1_OnIFROverrun(void); ** BDLC1_OnRxChar - void BDLC1_OnRxChar(void); ** BDLC1_OnFullRxBuf - void BDLC1_OnFullRxBuf(void); ** BDLC1_OnFullIFRbuf - void BDLC1_OnFullIFRbuf(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 "BDLC1.h" void BDLC1_OnTransmitData(void); /* ** =================================================================== ** Event : BDLC1_OnTransmitData (module Events) ** ** From Component : BDLC1 [BDLC] ** Description : ** This event is invoked when BDLC finishes a correct ** transmission (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 a correct 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 the BDLC losts arbitration. ** 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 ** on non-byte boundaries 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 BDLC1_OnIFROverrun(void); /* ** =================================================================== ** Event : BDLC1_OnIFROverrun (module Events) ** ** From Component : BDLC1 [BDLC] ** Description : ** This event is called when IFR input buffer has overrun. ** Parameters : None ** Returns : Nothing ** =================================================================== */ void BDLC1_OnRxChar(void); /* ** =================================================================== ** Event : BDLC1_OnRxChar (module Events) ** ** From Component : BDLC1 [BDLC] ** Description : ** This event is called when a character is received. User ** can call IgnoreMessage() method to ignore the rest of the ** message. ** Parameters : None ** Returns : Nothing ** =================================================================== */ void BDLC1_OnFullRxBuf(void); /* ** =================================================================== ** Event : BDLC1_OnFullRxBuf (module Events) ** ** From Component : BDLC1 [BDLC] ** Description : ** This event is called when the receive buffer is full (see ** the property Input data buffer size) ** Parameters : None ** Returns : Nothing ** =================================================================== */ void BDLC1_OnFullIFRbuf(void); /* ** =================================================================== ** Event : BDLC1_OnFullIFRbuf (module Events) ** ** From Component : BDLC1 [BDLC] ** Description : ** This event is called when the IFR buffer is full (see the ** property Input IFR buffer size) ** Parameters : None ** Returns : Nothing ** =================================================================== */ void Cpu_OnSwINT(void); /* ** =================================================================== ** Event : Cpu_OnSwINT (module Events) ** ** From Component : Cpu [MC68HC908AS60A_64] ** Description : ** This software event is called after software reset. ** Parameters : None ** Returns : Nothing ** =================================================================== */ void BDLC1_BeforeNewSpeed(void); /* ** =================================================================== ** Event : BDLC1_BeforeNewSpeed (module Events) ** ** From Component : BDLC1 [BDLC] ** Description : ** This event is called when the CPU speed mode is being ** changed (using CPU methods) - before the change. ** Parameters : None ** Returns : Nothing ** =================================================================== */ void BDLC1_AfterNewSpeed(void); /* ** =================================================================== ** Event : BDLC1_AfterNewSpeed (module Events) ** ** From Component : BDLC1 [BDLC] ** Description : ** This event is called when the CPU speed mode is being ** changed (using CPU methods) - after the change. ** Parameters : None ** Returns : Nothing ** =================================================================== */ /* END Events */ #endif /* __Events_H*/ /* ** ################################################################### ** ** This file was created by Processor Expert 02.87 for ** the Freescale HC08 series of microcontrollers. ** ** ################################################################### */