00001 #include "intc.h" 00002 00003 void intc_set_irq( volatile avr32_intc_t * intc, unsigned int line, unsigned int level, unsigned int offset) 00004 { 00005 const unsigned group = line/32; 00006 intc->intpr[group] = (offset&AVR32_INTC_ADDRESS) | (level<<30); 00007 }
1.5.1