Nios II Classic Software Developer’s Handbook

ID 683282
Date 5/14/2015
Public
Document Table of Contents

14.1.15. alt_dma_rxchan_close()

Prototype

int alt_dma_rxchan_close (alt_dma_rxchan rxchan)

Commonly Called By

C/C++ programs

Device drivers

Thread-safe

Yes.

Available from ISR

No.

Include

<sys/alt_dma.h>

Description

The alt_dma_rxchan_close() function notifies the system that the application has finished using the direct memory access (DMA) receive channel, rxchan. The current implementation always succeeds.

Return

The return value is zero on success and negative otherwise.