I am getting the following compile error. Can someone help me decipher?
"../intc_arm.c", line 19: error: expression must be an lvalue or a function designator
Here's the offending line:
"sysISRtbl[AINTC_EVENTID_EDMA3_0_CC0_INT0] = &isr_edma_tcc();"
And here's the called function:
void isr_edma_tcc() //Incoming EDMA sample buffer ready (transfer complete)
{
data_available = true;
}
The sysISRtbl is from ARM9_handler.asm. The example in the header says:
; /*** Assign ISR to GPIOB0 ***/
; sysISRtbl[AINTC_GPIO_B0INT] = &GPIO_input_isr;
; /*** VBR Points to ISR Table ***/
; aintcRegs->VBR = (unsigned int) sysISRtbl;
....which is what I thought I was doing.
Can anyone give some guidance?
Thx,
MikeH