// Interrupt Number.
#define TB_UINT 0x0 // SC6600D,Uart rx line interrupt in PLL sleep mode
#define TB_SOFT_INT 0x1 // SC6600B&D,software interrupt
#define TB_RTC_T0 0x0 // SC6600C only
#define TB_RTC_T1 0x1 // SC6600C only
#define TB_COMMRX_INT 0x2 // SC6600B&D
#define TB_COMMTX_INT 0x3 // SC6600B&D
#define TB_TIMER0_INT 0x4 // SC6600B&D,Timer1 interrupt
#define TB_TIMER1_INT 0x5 // SC6600B&D,Timer2 interrupt
#define TB_GPIO_INT 0x6 // SC6600B&D,GPIO interrupt(inclucde CHINT)
#define TB_RTC_INT 0x7 // SC6600B&D,RTC interrupt
#define TB_KPD_INT 0x8 // SC6600B&D,Keypad interrupt
#define TB_I2C_INT 0x9 // SC6600B&D,I2C interrupt
#define TB_SIM_INT 0xa // SC6600B&D,SIM interrupt
#define TB_UART0_INT 0xb // SC6600B&D,Uart0 interrupt
#define TB_UART1_INT 0xc // SC6600B&D,Uart1 interrupt
#define TB_DSP_INT 0xd // SC6600B&D,DSP interrupt
#define TB_ADC_INT 0xe // SC6600B&D,ADC interrupt
#define TB_GEA_POLL_INT 0xf // SC6600B&D,GEA interrupt
#define TB_LCD_INT 0x10 // SC6600B
#define TB_PCM_INT 0x11 // SC6600B&D,PCM interrupt
#define TB_UART2_INT 0x12 // SC6600M Serial port 2 interrupt
#define TB_SC6600B_BMON1_INT 0x13 // BUS monitor1 interrupt
#define TB_IRDA0_INT 0x14 // SC6600B
#define TB_IRDA1_INT 0x15 // SC6600B
#define TB_GIS_INT 0x16 // SC6600B
#define TB_SC6600B_SPK_INT 0x17 // SC6600B
#define TB_SYST_INT TB_LCD_INT // SC6600D,System count alarm interrupt
#define TB_USB_INT 0x19 // SC6600M,USB interrupt
#define TB_DCAM_INT TB_BMON4_INT
#define TB_SC6600D_SPK_INT TB_SC6600B_BMON1_INT
#define TB_DMA_INT TB_IRDA0_INT // SC6600D,DMA interrupt
#define TB_VBC_INT TB_IRDA1_INT // SC6600D,VBC interrupt
#define TB_BMON0_INT TB_GIS_INT // SC6600D,BUS monitor0 interrupt
#define TB_BMON1_INT TB_SC6600B_SPK_INT // SC6600D,BUS monitor1 interrupt
#define TB_BMON2_INT 0x18 // SC6600D,BUS monitor2 interrupt
#define TB_BMON4_INT 0x1a // SC6600D,BUS monitor4 interrupt
#define TB_BMON5_INT 0x1b // SC6600D,BUS monitor5 interrupt
#define TB_BMON6_INT 0x1c // SC6600D,BUS monitor6 interrupt
#define TB_BMON7_INT 0x1d // SC6600D,BUS monitor7 interrupt
#define TB_WDG_INT 0x1e // SC6600D,WDG interrupt
#define TB_DSP_FRQ_INT 0x1E // SC8800D, dsp init
#define TB_PBINT 0x1f // SC6600D,PBINT
#define TB_SPI0_INT 0x11 // SC6600L,SPI0 interrupt
#define TB_SPI1_INT 0x12 // SC6600L,SPI1 interrupt
#define TB_BM_INT 0x16 // SC6600L,BUS monitor interrupt
#define TB_TIMER2_INT 0x17 // SC6600L,Timer2 interrupt
#define TB_TPC_INT 0x18 // SC6600L,TPC interrupt
#define TB_IIS_INT 0x1b // SC6600L,IIS interrupt
#define TB_MAX_INT_NUM 0x20 // last int num
阅读(1556) | 评论(0) | 转发(0) |