interrupt.h 379 B

123456789101112131415161718
  1. #ifndef __INTERRUPT_H__
  2. #define __INTERRUPT_H__
  3. #include <rthw.h>
  4. #include <board.h>
  5. #define INT_IRQ 0x00
  6. #define INT_FIQ 0x01
  7. void rt_hw_interrupt_init(void);
  8. void rt_hw_interrupt_mask(int vector);
  9. void rt_hw_interrupt_umask(int vector);
  10. rt_isr_handler_t rt_hw_interrupt_install(int vector, rt_isr_handler_t handler,
  11. void *param, const char *name);
  12. #endif