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 
21 #ifndef EIC_IRQ_H
22 #define EIC_IRQ_H
23 
24 #ifdef __cplusplus
25 extern "C" {
26 #endif
27 
40 #define EIC_IRQ_TIMER (-1)
41 #define EIC_IRQ_FDC (-2)
42 #define EIC_IRQ_PC (-3)
43 
48 void eic_irq_configure(int irq_num);
49 
53 void eic_irq_enable(int irq_num);
54 
58 void eic_irq_disable(int irq_num);
59 
63 void eic_irq_ack(int irq_num);
64 
65 #ifdef __cplusplus
66 }
67 #endif
68 
69 #endif /* EIC_IRQ_H */
70 
void eic_irq_enable(int irq_num)
Enable an interrupt.
void eic_irq_configure(int irq_num)
Configure and route the interrupt.
void eic_irq_disable(int irq_num)
Disable an interrupt.
void eic_irq_ack(int irq_num)
Acknowledge an interrupt.