Specifications

alt_dma_txchan_reg() on page 14-21
alt_dma_txchan_send() on page 14-27
alt_dma_txchan_space() on page 14-26
alt_dma_txchan_open()
Prototype
alt_dma_txchan alt_dma_txchan_open (const char* name)
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_open() function obtains an alt_dma_txchan() descriptor for a DMA transmit
channel. The input argument, name, is the name of the associated physical device, for example, /dev/
dma_0.
Return
The return value is null on failure and non-null otherwise. If an error occurs, errno is set to ENODEV.
Related Information
alt_dma_rxchan_close() on page 14-13
alt_dma_rxchan_depth() on page 14-12
alt_dma_rxchan_open() on page 14-15
alt_dma_rxchan_prepare() on page 14-16
alt_dma_rxchan_reg() on page 14-17
alt_dma_txchan_close() on page 14-18
alt_dma_txchan_ioctl() on page 14-19
alt_dma_txchan_reg() on page 14-21
alt_dma_txchan_send() on page 14-27
alt_dma_txchan_space() on page 14-26
14-20
alt_dma_txchan_open()
NII5V2
2015.05.14
Altera Corporation
HAL API Reference
Send Feedback