Nios® II Software Developer Handbook

ID 683525
Date 8/28/2023
Public
Document Table of Contents

15.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.