www.pudn.com > S3C44B0X_USB.rar > irqsrc.h
#ifndef __IRQ_SRC_H #define __IRQ_SRC_H #define MaxIrqNr 26 #define INT_GLOBAL 26 #define INT_EXTINT0 25 #define INT_EXTINT1 24 #define INT_EXTINT2 23 #define INT_EXTINT3 22 #define INT_EXTINT4_7 21 #define INT_TICK 20 #define INT_ZDMA0 19 #define INT_ZDMA1 18 #define INT_BDMA0 17 #define INT_BDMA1 16 #define INT_WDT 15 #define INT_UERR0_1 14 #define INT_TIMER0 13 #define INT_TIMER1 12 #define INT_TIMER2 11 #define INT_TIMER3 10 #define INT_TIMER4 9 #define INT_TIMER5 8 #define INT_UARTRX0 7 #define INT_UARTRX1 6 #define INT_IIC 5 #define INT_SIO 4 #define INT_UARTTX0 3 #define INT_UARTTX1 2 #define INT_RTC 1 #define INT_ADC 0 #define DisableGblIrq() rINTMSK = 0x07ffffff #define EnableGblIrq() rINTMSK &= 0xfbffffff #define EnableIrq(BitMsk) rINTMSK &= ~(1<<(BitMsk)) #define DisableIrq(BitMsk) rINTMSK |= 1<<(BitMsk) #define ClrIrqPnd(BitMsk) rI_ISPC |= 1<<(BitMsk) #endif