eic_irq.h File Reference

API for supporting External Interrupt Controllers (EIC mode) More...

Detailed Description

API for supporting External Interrupt Controllers (EIC mode)

Neil Jones neil..nosp@m.jone.nosp@m.s@img.nosp@m.tec..nosp@m.com

Definition in file eic_irq.h.

Go to the source code of this file.


#define EIC_IRQ_TIMER   (-1)
 @ brief Internal Interrupt numbers More...
#define EIC_IRQ_FDC   (-2)
#define EIC_IRQ_PC   (-3)


void eic_irq_configure (int irq_num)
 Configure and route the interrupt.
void eic_irq_enable (int irq_num)
 Enable an interrupt.
void eic_irq_disable (int irq_num)
 Disable an interrupt.
void eic_irq_ack (int irq_num)
 Acknowledge an interrupt.

Macro Definition Documentation


#define EIC_IRQ_TIMER   (-1)

@ brief Internal Interrupt numbers

MIPS cores have a few internally generated interrupts from the Timer, Performance Counters and Fast Debug Channel hardware, in EIC mode these become outputs from the core and are connected to the external controller, the external control then loops these back at whichever IPL it decides

We use negative numbers to represent these, leaving positive numbers free for the SoC specific interrupts

Definition at line 38 of file eic_irq.h.