# MI_WaitDma

## Syntax

  `#include <nitro/mi.h>`
  `void MI_WaitDma( u32 dmaNo );`

## Arguments

dmaNo | DMA channel used.

## Return Values

None.

## Description

This function waits until 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 is the DMA channel used.)

## See Also

`MI_IsDmaBusy
`

## Revision History

2003/12/01 Initial version.

CONFIDENTIAL