15#define _SIU_IRQENABLE ((unsigned long volatile *const)0x8007EFA8)
16#define _SIU_IRQPEND ((unsigned long volatile *const)0x8007EFA0)
20 IMASK_EXT0 = 0x80000000,
21 IMASK_EXT1 = 0x20000000,
22 IMASK_EXT2 = 0x08000000,
23 IMASK_EXT3 = 0x02000000,
24 IMASK_EXT4 = 0x00800000,
25 IMASK_EXT5 = 0x00200000,
26 IMASK_EXT6 = 0x00080000,
27 IMASK_ALL = IMASK_EXT0 | IMASK_EXT1 | IMASK_EXT2 | IMASK_EXT3 |
28 IMASK_EXT4 | IMASK_EXT5 | IMASK_EXT6
44typedef void (*ExtIsrHandler) (void);
48extern void extIsrInit(
void );
52extern void extIrqSetHandler(ExtInt interrupt, ExtIsrHandler handler);
55#define extIrqIsSet(irq) \
56 (*_SIU_IRQPEND & (irq))
59#define extIrqEnable(irq) \
60 (*_SIU_IRQENABLE |= (irq))
63#define extIrqDisable(irq) \
64 (*_SIU_IRQENABLE &= ~(irq))
68#define extIrqGetEnable \