2.57.6 PLIB_L2CC_CleanCacheByAddr Function

C

void PLIB_L2CC_CleanCacheByAddr(uint32_t *addr, uint32_t size);

Summary

Flushes L2 cache entries.

Description

This function will flush all dirty cache entries within the given address range.

Precondition

PLIB_L2CC_Initialize has been called.

Parameters

ParamDescription
addrThe start address of the memory range to be cleaned
sizeThe size of the memory range to be cleaned

Returns

None.

Example

PLIB_L2CC_CleanCacheByAddr(dmaMem, dmaMemSize);