1 /**************************************************************************** 2 interupt.h 3 Interrupt-controller hardware function prototypes 4 ****************************************************************************/ 5 6 #ifndef INTERUPT_H_ 7 #define INTERUPT_H_ 8 9 #include "defs.h" 10 11 // definition of which bits correspond 12 // to which interrupt-request: 13 14 #define FL_IRQ2 0x01 15 #define FL_IRQ1 0x02 16 #define FL_TIQ 0x04 17 18 19 extern UChar irq_mask; 20 extern UChar irq_register; 21 22 extern void hw_put_1402(UChar); 23 extern void hw_put_1403(UChar); 24 25 extern UChar hw_get_1402(void); 26 extern UChar hw_get_1403(void); 27 28 #endif 29