Nios® II Software Developer Handbook

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

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