Hi
I am trying to implement a interrupt handler for a central DMA in microblaze. i am using an interrupt controller. the thing is one can only use the different functions of the Central DMA driver API through the datatype(XdmaCentral) which is also specified in the API. When assigning the interrupt handler function corresponding to the DMA interrupt(Xintr_RegisterHandler) one can only define a callbackref of type *void. how can i write this function in a way, that will make the XdmaCentral of the main program available for the interrupt handler function in order to be able to use the DMA driver functions in the interrupt handler function.
thanks in advance