interrupt.h 596 B

12345678910111213141516171819202122232425
  1. /*
  2. * File : interrupt.h
  3. * This file is part of RT-Thread RTOS
  4. * COPYRIGHT (C) 2011, RT-Thread Development Team
  5. *
  6. * The license and distribution terms for this file may be
  7. * found in the file LICENSE in this distribution or at
  8. * http://www.rt-thread.org/license/LICENSE
  9. *
  10. * Change Logs:
  11. * Date Author Notes
  12. * 2013-07-06 Bernard first version
  13. */
  14. #ifndef __INTERRUPT_H__
  15. #define __INTERRUPT_H__
  16. #define INT_IRQ 0x00
  17. #define INT_FIQ 0x01
  18. void rt_hw_interrupt_control(int vector, int priority, int route);
  19. void rt_hw_interrupt_init(void);
  20. #endif