dma_freebuf()

QNX SDP8.0SPI Framework TechnotesAPIConfiguration

Free a DMA buffer

Synopsis:

int (*dma_freebuf)( void *const hdl,
                    dma_addr_t *addr );

Arguments:

hdl
The handle of the low-level module that spi_init() returns.
addr
A pointer to the DMA address structure, dma_addr_t.

Description:

The dma_freebuf() function frees a DMA buffer.

Errors:

The dma_freebuf() function returns an errno. For values of errno, refer to the C Library Reference.

Page updated: