/*	BASIC INTERRUPT VECTORS TABLE FOR ST7 devices
 *	Copyright (c) 2002 STMicroelectronics
 */

#ifndef NULL
#define NULL	(void *)0
#endif

extern void _stext();		/* startup routine */  

/* Add the interrupt routine used in application */
extern void EI0_IT_Routine (void); 			/* EI0 */
extern void TLI_IT_Routine (void); 			/* TLI */
extern void EI2_IT_Routine (void); 			/* EI2 */
extern void MCC_IT_Routine (void); 			/* MCC */	
extern void EI1_IT_Routine (void); 			/* EI1 */
extern void EI3_IT_Routine (void); 			/* EI3 */ 
extern void PWMART_IT_Routine (void); 	 /* PWMART */
extern void SPI_IT_Routine (void); 			/* SPI */
extern void SCI_IT_Routine (void); 			/* SCI */
extern void TIMERA_IT_Routine (void); 	 /* TIMERA */
extern void TIMERB_IT_Routine (void); 	 /* TIMERB */
extern void I2C_IT_Routine (void);			/* I2C */

/* Interrupt vector table, to be linked at the address
   0xFFE0 (in ROM) */ 
void (* const _vectab[])() = {
	PWMART_IT_Routine,	/* 0xFFE0 */
	I2C_IT_Routine,		/* 0xFFE2 */
	NULL,			/* 0xFFE4 */
	SCI_IT_Routine,		/* 0xFFE6 */
	TIMERB_IT_Routine,	/* 0xFFE8 */
	TIMERA_IT_Routine,	/* 0xFFEA */
	SPI_IT_Routine,		/* 0xFFEC */
	NULL,			/* 0xFFEE */
	EI3_IT_Routine,		/* 0xFFF0 */
	EI2_IT_Routine,		/* 0xFFF2 */
	EI1_IT_Routine,		/* 0xFFF4 */
	EI0_IT_Routine,		/* 0xFFF6 */
	MCC_IT_Routine,		/* 0xFFF8 */
	TLI_IT_Routine,		/* 0xFFFA */
	NULL,			/* Trap vector */
	_stext,			/* Reset Vector */
};