# MI_WaitNDma

## Syntax

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

## Arguments

ndmaNo | DMA channel used.

## Return Values

None.

## Description

This function waits until the TWL's new DMA can be used.
The channel to wait for is specified by dmaNo.

## Internal Operation

Uses the following I/O register: DMAn control register (0x40000B8 + 12n). (n specifies the DMA channel.)

## See Also

`MI_IsNDmaBusy
`

## Revision History

2007/10/04 Initial version.

CONFIDENTIAL