GPRS模组,GPRS原理图,sim300
源代码在线查看: int.h
//============================================================= // 文件名称: INT.h // 功能描述: 定义了中断控制器各中断非屏蔽宏函数 // 维护记录: 2007-10-12 V1.0 //============================================================= // SUNPLUS S+core IDE generated include file. #ifndef EX06_CAPTURE_INT_H_16827_23281__INCLUDED_ #define EX06_CAPTURE_INT_H_16827_23281__INCLUDED_ #include "SPCE3200_Register.h" #include "SPCE3200_Constant.h" //=================================================== // 定义中断控制器非屏蔽中断函数 //=================================================== #define DAC_INT_UNMASK() (*P_INT_MASK_CTRL1 &= ~C_INT_DAC_DIS) #define MIC_INT_UNMASK() (*P_INT_MASK_CTRL1 &= ~C_INT_MIC_DIS) #define ADC_INT_UNMASK() (*P_INT_MASK_CTRL1 &= ~C_INT_ADC_DIS) #define TMB_INT_UNMASK() (*P_INT_MASK_CTRL1 &= ~C_INT_TMB_DIS) #define TIMER_INT_UNMASK() (*P_INT_MASK_CTRL1 &= ~C_INT_TIMER_DIS) #define LCDVS_INT_UNMASK() (*P_INT_MASK_CTRL1 &= ~C_INT_LCDVS_DIS) #define USB_INT_UNMASK() (*P_INT_MASK_CTRL1 &= ~C_INT_USB_DIS) #define SIO_INT_UNMASK() (*P_INT_MASK_CTRL1 &= ~C_INT_SIO_DIS) #define SPI_INT_UNMASK() (*P_INT_MASK_CTRL1 &= ~C_INT_SPI_DIS) #define UART_INT_UNMASK() (*P_INT_MASK_CTRL1 &= ~C_INT_UART_DIS) #define NAND_INT_UNMASK() (*P_INT_MASK_CTRL1 &= ~C_INT_NAND_DIS) #define SD_INT_UNMASK() (*P_INT_MASK_CTRL1 &= ~C_INT_SD_DIS) #define I2C_INT_UNMASK() (*P_INT_MASK_CTRL1 &= ~C_INT_I2C_DIS) #define I2S_INT_UNMASK() (*P_INT_MASK_CTRL1 &= ~C_INT_I2S_DIS) #define APBCH0_INT_UNMASK() (*P_INT_MASK_CTRL1 &= ~C_INT_APBCH0_DIS) #define APBCH1_INT_UNMASK() (*P_INT_MASK_CTRL1 &= ~C_INT_APBCH1_DIS) #define LDM_INT_UNMASK() (*P_INT_MASK_CTRL1 &= ~C_INT_LDM_DIS) #define BLN_INT_UNMASK() (*P_INT_MASK_CTRL1 &= ~C_INT_BLN_DIS) #define APBCH2_INT_UNMASK() (*P_INT_MASK_CTRL1 &= ~C_INT_APBCH2_DIS) #define APBCH3_INT_UNMASK() (*P_INT_MASK_CTRL1 &= ~C_INT_APBCH3_DIS) #define RTC_INT_UNMASK() (*P_INT_MASK_CTRL2 &= ~C_INT_RTC_DIS) #define MP4_INT_UNMASK() (*P_INT_MASK_CTRL2 &= ~C_INT_MP4_DIS) #define ECC_INT_UNMASK() (*P_INT_MASK_CTRL2 &= ~C_INT_ECC_DIS) #define EXT_INT_UNMASK() (*P_INT_MASK_CTRL2 &= ~C_INT_GPIO_DIS) #define INT_UNMASK_SETUP1(INT_DIS) (*P_INT_MASK_CTRL1 &= ~INT_DIS) #define INT_UNMASK_SETUP2(INT_DIS) (*P_INT_MASK_CTRL2 &= ~INT_DIS) #endif //EX06_CAPTURE_INT_H_16827_23281__INCLUDED_