Forum Discussion
Altera_Forum
Honored Contributor
21 years agoUsing HAL with DMA question
I am moving from NIOSI to NIOSII. I have an interrupt where if we are still DMA'ing, I just want to return from the interrupt. Before, I just had the following if statement to check the status ...
Altera_Forum
Honored Contributor
21 years agoFirst you should define a callback function such as dma_done. Assign a mark describing the end of dma transmission. Inputting dma_done as the forth parameter on invoking alt_dma_txchan_send/alt_dma_rxchan_prepare.
I think handbook should describe such usage more clearly.