1 /*
2  * Copyright (c) 2006-2021, RT-Thread Development Team
3  *
4  * SPDX-License-Identifier: Apache-2.0
5  *
6  * Change Logs:
7  * Date           Author       Notes
8  */
9 
10 #ifndef __INTERRUPT_H__
11 #define __INTERRUPT_H__
12 
13 #include <rthw.h>
14 void rt_hw_interrupt_mask(int irq);
15 void rt_hw_interrupt_unmask(int irq);
16 rt_isr_handler_t rt_hw_interrupt_handle(rt_uint32_t vector, void *param);
17 void rt_hw_interrupt_init(void);
18 rt_uint32_t rt_hw_interrupt_get_active(rt_uint32_t fiq_irq);
19 void rt_hw_interrupt_ack(rt_uint32_t fiq_irq, rt_uint32_t id);
20 rt_isr_handler_t rt_hw_interrupt_install(int vector, rt_isr_handler_t handler,
21         void *param, const char *name);
22 
23 #endif
24