# MI_DmaRestart

## Syntax

  `#include <nitro/mi.h>`
  `void MI_DmaRestart( u32 ndmaNo );`

## Arguments

ndmaNo | DMA channel (0-3)

## Return Values

None.

## Description

Starts DMA once it has been configured.

This function starts DMA using the configuration of the current DMA register. Specifically, it sets the enable bit of the new DMA specified by dmaNo to 1. Other DMA-related registers must be set in advance.

DMA can be configured in advance with the `MI_DmaCopy*, MI_DmaFill*, MI_DmaClear*, MI_DmaSend*, MI_DmaRecv*, and MI_DmaPipe*` functions whose names include "_SetUp." For details, see the various function references.

Originally, this function was created to configure only the necessary registers and restart DMA after a DMA operation had completed. That is why this function includes "Restart" in its name.

## Internal Operation

Uses the I/O DMA registers.

## See Also

`MI_DmaCopy*(), MI_DmaFill*(), MI_DmaClear*(), MI_DmaSend*(), MI_DmaRecv*(), MI_DmaPipe*()`

## Revision History

2007/10/31 Initial version.

CONFIDENTIAL