/*
** ###################################################################
**
**     THIS BEAN MODULE IS GENERATED BY THE TOOL. DO NOT MODIFY IT.
**
**     Filename  : Slowe.C
**
**     Project   : projRT1
** 
**     Processor : MC68HC908AZ60MFU
**
**     Beantype  : ExtInt
**
**     Version   : Bean 02.015, Driver 01.10, CPU db: 2.81.019
**
**     Compiler  : Metrowerks HC08 C Compiler V-5.0.13
**
**     Date/Time : 2.4.2002, 8:42
**
**     Abstract  :
**
**         This bean "ExtInt" implements an external 
**         interrupt, its control methods and interrupt/event 
**         handling procedure.
**         The bean uses one pin which generates interrupt on 
**         selected edge.
**
**     Settings  :
**
**         Interrupt name              : INT_KBD
**         User handling procedure     : Slowe_OnInterrupt
**
**         Used pin                    : 
**             ----------------------------------------------------
**                Number (on package)  |    Name
**             ----------------------------------------------------
**                       48            |  PTH0_KBD3
**             ----------------------------------------------------
**
**         Port name                   : PTH
**
**         Bit number (in port)        : 0
**         Bit mask of the port        : 1
**
**         Signal edge/level           : falling
**         Pull option                 : off
**         Initial state               : Enabled
**
**         Edge register               : KBSCR     [27]
**         Enable register             : KBIE      [33]
**         Request register            : KBSCR     [27]
**
**         Port data register          : PTH       [11]
**         Port control register       : DDRH      [15]
**         Port function register      : KBIE      [33]
**
**     Contents  :
**
**         GetVal - bool Slowe_GetVal(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
**
** ###################################################################
*/

#include "Slowe.h"

/*Including shared modules, which are used for all project*/
#include "PE_Types.h"
#include "PE_Error.h"
#include "PE_Const.h"
#include "IO_Map.h"
#include "Events.h"
#include "Cpu.h"

/*
** ===================================================================
**     Method      :  Slowe_Interrupt (bean ExtInt)
**
**     Description :
**         This method is internal. It is used by Processor Expert
**         only.
** ===================================================================
*/
__interrupt void Slowe_Interrupt(void)
{
  Slowe_OnInterrupt();
}

/*
** ===================================================================
**     Method      :  Slowe_GetVal (bean ExtInt)
**
**     Description :
**         Return the actual value of the input pin of the bean
**         (FALSE , TRUE).
**     Parameters  : None
**     Returns     :
**         ---             - Returned input value
** ===================================================================
*/
/*
bool Slowe_GetVal(void)

**      This method is implemented as macro      **
*/

/*
** ###################################################################
**
**     This file was created by UNIS Processor Expert 02.84 for 
**     the Motorola HC08 series of microcontrollers.
**
** ###################################################################
*/
