Specifications

alt_fs_reg() on page 14-29
alt_dma_rxchan_open()
Prototype
alt_dma_rxchan alt_dma_rxchan_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_rxchan_open() function obtains an alt_dma_rxchan descriptor for a DMA receive
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_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_open() on page 14-20
alt_dma_txchan_reg() on page 14-21
alt_dma_txchan_send() on page 14-27
alt_dma_txchan_space() on page 14-26
NII5V2
2015.05.14
alt_dma_rxchan_open()
14-15
HAL API Reference
Altera Corporation
Send Feedback