/***********************************************************************/
/*                                                                     */
/*  FILE        :inthandler.c                                          */
/*  DATE        :Mon, Jun 07, 2010                                     */
/*  DESCRIPTION :Interrupt Handler                                     */
/*  CPU TYPE    :Other                                                 */
/*                                                                     */
/*  This file is generated by KPIT GNU Project Generator.              */
/*                                                                     */
/***********************************************************************/
     
#include "iodefine.h"
#include "inthandler.h"

unsigned int f=0;

// 2 Manual Reset PC
void INT_Manual_Reset_PC(void){  }
// 3 Manual Reset SP
void INT_Manual_Reset_SP(void){  }

// 4 Illegal code
void INT_Illegal_code(void){
	f++;
}

// Dummy
void Dummy(void){  }
void cmii(void){
	CMT.CMSTR.BIT.STR1 = 0;
  CMT1.CMCSR.BIT.CMF = 0;  // Povolim preruseni od timeru
	CMT.CMSTR.BIT.STR1 = 1;
	f++;
	
}
