interrupt.h 509 B

1234567891011121314151617181920
  1. /*
  2. * Copyright (c) 2020, Shenzhen Academy of Aerospace Technology
  3. *
  4. * SPDX-License-Identifier: Apache-2.0
  5. *
  6. * Change Logs:
  7. * Date Author Notes
  8. * 2020-10-16 Dystopia the first version
  9. */
  10. #ifndef __INTERRUPT_H__
  11. #define __INTERRUPT_H__
  12. void rt_hw_interrupt_control(int vector, int priority, int route);
  13. int rt_hw_interrupt_get_active(int fiq_irq);
  14. void rt_hw_interrupt_ack(int fiq_irq);
  15. void rt_hw_interrupt_trigger(int vector);
  16. void rt_hw_interrupt_clear(int vector);
  17. #endif