cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
oabdo
Observer
Observer
4,134 Views
Registered: ‎05-16-2008

DMA interrupt handler

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

 

0 Kudos
Reply
0 Replies