<< Previous | Next >>

DMAhandle2chan

int DMAhandle2chan( dma_chan_t handle );

Description

This function checks the validity of a handle and returns the channel number if it is valid.

Parameter

handle
Handle to convert to channel number

Return Value

0-7: Valid channel number
DMA_CHANNEL_NONE: The channel is invalid

Library

DMA.LIB

See Also

DMAalloc, DMAunalloc


Dynamic C Functions << Previous | Next >> rabbit.com