#include "klavesnica.h"
/*
** ===================================================================
**     Method      :  Klavesnica_Enable (component ExtInt)
**
**     Description :
**         Enable the component - the external events are accepted.
**         This method is available only if HW module allows
**         enable/disable of the interrupt.
**     Parameters  : None
**     Returns     : Nothing
** ===================================================================
*/
void Klavesnica_Enable(void)
{
  setReg8(EPFR0,Klavesnica_PIN_MASK);  /* Clear flag */
  setReg8Bits(EPIER0,Klavesnica_PIN_MASK); /* Enable interrupt */
}

/*
** ===================================================================
**     Method      :  Klavesnica_Disable (component ExtInt)
**
**     Description :
**         Disable the component - the external events are not accepted.
**         This method is available only if HW module allows
**         enable/disable of the interrupt.
**     Parameters  : None
**     Returns     : Nothing
** ===================================================================
*/
/*
void Klavesnica_Disable(void)

**  This method is implemented as a macro. See Klavesnica.h file.  **

*/

/*
** ===================================================================
**     Method      :  Klavesnica_Interrupt (component ExtInt)
**
**     Description :
**         The method services the interrupt of the selected peripheral(s)
**         and invokes the components event.
**         This method is internal. It is used by Processor Expert only.
** ===================================================================
*/
void __attribute__ ((interrupt)) __cs3_isr_interrupt_68(void) {
{
  setReg8(EPFR0,Klavesnica_PIN_MASK);  /* Clear flag */
  Klavesnica_OnInterrupt();
}
