Nios II Classic Software Developer’s Handbook

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

14.1.20. alt_dma_txchan_close()

Prototype

int alt_dma_txchan_close (alt_dma_txchan txchan)

Commonly Called By

C/C++ programs

Device drivers

Thread-safe

Yes.

Available from ISR

No.

Include

<sys/alt_dma.h>

Description

The alt_dma_txchan_close function notifies the system that the application has finished using the DMA transmit channel, txchan. The current implementation always succeeds.

Return

The return value is zero on success and negative otherwise.