/*
** ###################################################################
**
**     Filename  : Events.C
**
**     Project   : LED
** 
**     Processor : MC68HC908AZ60MFU
**
**     Beantype  : Events
**
**     Version   : Driver 01.00
**
**     Compiler  : Metrowerks HC08 C Compiler V-5.0.13
**
**     Date/Time : 04-Apr-02, 12:17
**
**     Abstract  :
**
**         This is user's event module.
**         Put your event handler code here.
**
**     Settings  :
**
**
**     Contents  :
**
**         Button_OnInterrupt - void Button_OnInterrupt(void);
**
**
**     (c) Copyright UNIS, spol. s r.o. 1997-2002
**
**     UNIS, spol. s r.o.
**     Jundrovska 33
**     624 00 Brno
**     Czech Republic
**
**     http      : www.processorexpert.com
**     mail      : info@processorexpert.com
**
** ###################################################################
*/
/* MODULE Events */

#pragma MESSAGE DISABLE C1420 /* WARNING C1420: Result of function-call is ignored */


/*Including used modules for compilling procedure*/
#include "Cpu.h"
#include "Events.h"
#include "RedLED.h"
#include "GreenLED.h"
#include "Button.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       :  Button_OnInterrupt (module Events)
**
**     From bean   :  Button [ExtInt]
**     Description :
**         This event is called when the active signal edge/level
**         occurs.
**     Parameters  : None
**     Returns     : Nothing
** ===================================================================
*/
void Button_OnInterrupt(void)
{
  /* place your Button interrupt procedure body here*/
  RedLED_NegVal();
  GreenLED_NegVal();
}


/* END Events */

/*
** ###################################################################
**
**     This file was created by UNIS Processor Expert 02.85 for 
**     the Motorola HC08 series of microcontrollers.
**
** ###################################################################
*/
