# MI_GetNDmaWordCount

## Syntax

  `#include <twl/mi.h>`
  `u32 MI_GetNDmaWordCount( u32 ndmaNo );`

## Arguments

ndmaNo | DMA number to configure (0-3)

## Return Values

Returns the transfer word count for each DMA startup request.

## Description

Gets the setting for the the default transfer word count when the TWL's new DMA is run.

The target is the DMA specified in ndmaNo. This only references the DMA config structure; it does not access the I/O registers.

The return values will be in between 0 and 0xFFFFFF. Indicates 0x1000000 words if 0 is returned.

## See Also

`MI_SetNDmaWordCount()
`

## Revision History

2007/09/06 Initial version.

CONFIDENTIAL