interrupt.h 573 B

1234567891011121314151617181920212223242526272829
  1. /*
  2. * Copyright (c) 2006-2020, RT-Thread Development Team
  3. *
  4. * SPDX-License-Identifier: Apache-2.0
  5. *
  6. * Change Logs:
  7. * Date Author Notes
  8. */
  9. #ifndef __INTERRUPT_H__
  10. #define __INTERRUPT_H__
  11. #include <rthw.h>
  12. #include <board.h>
  13. #define INT_IRQ 0x00
  14. #define INT_FIQ 0x01
  15. //void rt_hw_vector_init(void);
  16. void rt_hw_interrupt_init(void);
  17. void rt_hw_interrupt_mask(int vector);
  18. void rt_hw_interrupt_umask(int vector);
  19. rt_isr_handler_t rt_hw_interrupt_install(int vector, rt_isr_handler_t handler,
  20. void *param, const char *name);
  21. #endif