MI_NDmaRestart

Syntax

#include <twl/mi.h>

void MI_NDmaRestart( u32 ndmaNo );

Arguments

ndmaNo DMA channel (0-3 within the new DMA)

Return Values

None.

Description

Starts the new DMA once it has been configured.

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

DMA can be configured in advance with the MI_NDmaCopy*, MI_NDmaFill*, MI_NDmaClear*, MI_NDmaSend*, MI_NDmaRecv*, and MI_NDmaPipe* 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 new I/O DMA registers.

See Also

MI_NDmaCopy*(), MI_NDmaFill*(), MI_NDmaClear(), MI_NDmaSend*(), MI_NDmaRecv*(), MI_NDmaPipe*()

Revision History

2007/10/31 Initial version.


CONFIDENTIAL