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