interrupt.h 412 B

1234567891011121314151617181920
  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_vector_init(void);
  8. void rt_hw_interrupt_init(void);
  9. void rt_hw_interrupt_mask(int vector);
  10. void rt_hw_interrupt_umask(int vector);
  11. rt_isr_handler_t rt_hw_interrupt_install(int vector, rt_isr_handler_t handler,
  12. void *param, const char *name);
  13. #endif