/************************************************************************/
/* CQBBEL GNU CC Common Control Software / (C) Toshio MURAI 2011, 2012	*/
/*      This is Free Software;   You can redistribute this software     */
/*      and/or modify it under the terms of the GNU General Public      */
/*      License version 3, or (at your option) any later version.       */
/************************************************************************/

#define	SETCPU()	\
	{	\
	}

/*	On Board LED 	*/
#define	SETBOARDLED()	\
	{	\
	}

#define	REVERSELED()	\
	{	\
	}

/*	8bit Dip Switch 8bit	*/
#define	SETDIPSWITCH()	\
	{	\
	}

#define	GETDIPSWITCH()		(0)

/*	7seg LED 15bit Hight/Low	*/
#define	SET7SEGLED()	\
	{	\
	}

#define	PUT7SEGHIGH(val)	\
	{	\
	}

#define	PUT7SEGLOW(val)		\
	{	\
	}

#define	GET7SEGHIGH()		(0)

#define	GET7SEGLOW()		(0)

/*	Tact Switch :4 Interrupt Request Switch	*/
#define	SETIRQ()	\
	{	\
	};


#define	CLEARIRQ0()	{}
#define	CLEARIRQ1()	{}
#define	CLEARIRQ2()	{}
#define	CLEARIRQ3()	{}

/*	Timer 1 msec interrupt	*/
#define	SETTIMER()	\
	{	\
	}
	
#define	CLEARTIMERINTERRUPT()	\
	{	\
	}

/*	AD Converter	*/
#define	SETAD()	\
	{	\
	}

#define	STARTAD0()	\
	{	\
	}

#define	GETAD0()		(0)

/*	RS232C/UART	*/
#define	SETUART()	\
	{	\
	}

#define	PUTCHAR(data)	\
	{	\
	}

#define	WAITPUTTUART()	\
	{	\
	}

#define GETCHAR()	(0)

#define	WAITGETUART()	\
	{	\
	}

#define	CLEARSENDFLAG()	{}

#define	CLEARRECFLAG()	{}

/*	Interrupt Handler	*/
#define	ENABLEINTERRUPT()	\
	{	\
		enableInterrupt();	\
	}

#define	DISABLEINTERRUPT()	\
	{	\
		disableInterrupt();
	}

#define	DUMMYINTERRUPT()	\
	{	\
	}

//#define	INTERRUPTATTRIBUTE	__attribute__ ((interrupt))		/* RX,V850,M68K */
//#define	INTERRUPTATTRIBUTE	__attribute__ ((interrupt_handler))	/* SH,H8*/
//#define	INTERRUPTATTRIBUTE						/* ARM and FR60 */
//#define	ARMINTERRUPTATTRIBUTE	__attribute__ ((interrupt))		/* ARM7TDMI */
//#define	ARMINTERRUPTATTRIBUTE						/* ARM CortexM3 (FM3) */

#ifdef	ARMINTERRUPTATTRIBUTE
#define	TIMEINTR()	(0)	
#define	IRQ0INTR()	(0)
#define	IRQ1INTR()	(0)
#define	IRQ2INTR()	(0)
#define	IRQ3INTR()	(0)
#endif