eic_irq.h
Go to the documentation of this file.
1 /*
2  * Copyright 2016, Imagination Technologies Limited and/or its
3  * affiliated group companies.
4  * This file is subject to the terms and conditions of the GNU Lesser
5  * General Public License v2.1. See the file LICENSE in the top level
6  * directory for more details.
7  */
8 
19 #ifndef EIC_IRQ_H
20 #define EIC_IRQ_H
21 
22 #ifdef __cplusplus
23 extern "C" {
24 #endif
25 
38 #define EIC_IRQ_TIMER (-1)
39 #define EIC_IRQ_FDC (-2)
40 #define EIC_IRQ_PC (-3)
41 
46 void eic_irq_configure(int irq_num);
47 
51 void eic_irq_enable(int irq_num);
52 
56 void eic_irq_disable(int irq_num);
57 
61 void eic_irq_ack(int irq_num);
62 
63 #ifdef __cplusplus
64 }
65 #endif
66 
67 #endif /* EIC_IRQ_H */
68 
void eic_irq_ack(int irq_num)
Acknowledge an interrupt.
void eic_irq_disable(int irq_num)
Disable an interrupt.
void eic_irq_enable(int irq_num)
Enable an interrupt.
void eic_irq_configure(int irq_num)
Configure and route the interrupt.