MI_TimerNDmaCopy

Syntax

#include <twl/mi.h>

void MI_TimerNDmaCopy( u32 ndmaNo,
u32 timerNo,
const void* src,
void *dest,
u32 size);

Arguments

ndmaNo DMA channel used.
timerNo Timer number.
src The transfer source address.
dest The transfer destination address.
size Transfer size.

Return Values

None.

Description

Uses the new DMA to copy using a timer. DMA will run when a timer interrupt occurs.

It uses the new DMA to perform copies in word (4-byte) units. Both the transfer source address (src) and the transfer destination address (dest) must be 4-byte aligned. The transfer size (size) needs to be a multiple of 4.

The timer is not set within the function. Care must be taken when setting timers in the application because some are used by the system.

Internal Operation

Accesses the new DMA register.

See Also

MI_NDmaCopy

Revision History

2007/10/04 Initial version.


CONFIDENTIAL