www.beck-ipc.com

@CHIP-RTOS C Library V2.00 - Hardware API


hal_get_dma_info

Get DMA info.

int hal_get_dma_info ( unsigned char channel, Dma_Info far * dmaInfo );

Parameters

channel

DMA channel:
    0 = DRQ0
    1 = DRQ1

dmaInfo

Pointer to Dma_Info data structure containing DMA setup information.

Return Value

Existing DMA control register bit field.

Comments

The DMA is momentarily disabled during reading of status, and then restored to the enable state it was at.

See Also

RTOS API

This library function invokes a RTOS software interrupt. Refer to this RTOS API function's documentation for more details.


This API List
List of C Libraries
@CHIP-RTOS Main Index


End of document