//=========================================
// NAME: main.c
// DESC: TQ2440流水灯测试程序
// 板载LED为PB
//=========================================
/* 头文件包含 */
// NAME: main.c
// DESC: TQ2440流水灯测试程序
// 板载LED为PB
//=========================================
/* 头文件包含 */
#define U32 unsigned int
/* 中断向量表 */
#define _ISR_STARTADDRESS 0x33ffff00
#define pISR_EINT0 (*(unsigned *)(_ISR_STARTADDRESS+0x20))
#define pISR_EINT1 (*(unsigned *)(_ISR_STARTADDRESS+0x24))
#define pISR_EINT2 (*(unsigned *)(_ISR_STARTADDRESS+0x28))
#define pISR_EINT4_7 (*(unsigned *)(_ISR_STARTADDRESS+0x30))
/* 中断控制 寄存器地址 */
#define rSRCPND (*(volatile unsigned *)0x4a000000) //