MI_GetNDmaConfig

Syntax

#include <twl/mi.h>

void MI_GetNDmaConfig( u32 ndmaNo, MINDmaConfig *config );

Arguments

ndmaNo DMA number. Takes a value from 0 to 3.
config Pointer to the MINDmaConfig structure to copy to.

Return Values

None.

Description

Gets the DMA config structure of the new TWL DMA maintained internally within the MI library.

Copies the DMA-related settings of the number specified in ndmaNo to the region indicated by config. You must allocate the destination region in advance.

Internal Operation

Copies the internal DMA config region using MI_CpuCopy32().

See Also

MI_InitNDmaConfig, MI_SetNDmaConfig

Revision History

2007/09/07 Initial version.


CONFIDENTIAL