/** ################################################################### ** Filename : Events.H ** Project : CAN ** Processor : MC9S08DZ60CLH ** Componenttype : Events ** Version : Driver 01.02 ** Compiler : CodeWarrior HCS08 C Compiler ** Date/Time : 7/17/2008, 2:30 PM ** Abstract : ** This is user's event module. ** Put your event handler code here. ** Settings : ** Contents : ** No public methods ** ** 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 "Term1.h" #include "Inhr1.h" #include "CAN1.h" #define CAN_MSG_LEN 8 void CAN1_OnFreeTxBuffer(word BufferMask); /* ** =================================================================== ** Event : CAN1_OnFreeTxBuffer (module Events) ** ** From Component : CAN1 [FreescaleCAN] ** Description : ** This event is called after a successful transmission of a ** message. The event is available only if Interrupt ** service/event is enabled. ** Parameters : ** NAME - DESCRIPTION ** BufferMask - Transmit buffer mask. The ** mask can be used to check what message ** buffer caused the transmit interrupt. ** Returns : Nothing ** =================================================================== */ void CAN1_OnFullRxBuffer(void); /* ** =================================================================== ** Event : CAN1_OnFullRxBuffer (module Events) ** ** From Component : CAN1 [FreescaleCAN] ** Description : ** This event is called when the receive buffer is full ** after a successful reception of a message. The 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 3.03 [04.07] ** for the Freescale HCS08 series of microcontrollers. ** ** ################################################################### */