ECC Initialization- Example Code
Copyright © 2002 Marvell
CONFIDENTIAL
Doc. No. MV-S300165-00, Rev. A
May 21, 2002, Preliminary
Document Classification: Proprietary Information
Page 151
C.2 C Code Example
for (offset = 0x100000 ; offset < (SSSSCS3SIZE) ; =0x100000)
{
dmaTransfer(DMA_ENG_4,offset,offset,0x100000,DTL_128BYTES |
BLOCK_TRANSFER_MODE,NULL);
while (dmaIsChannelActive(DMA_ENG_4));
}