1.27.7.3 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

Param Description
addr The start address of the memory range to be cleaned
size The size of the memory range to be cleaned

Returns

None.

Example

PLIB_L2CC_CleanCacheByAddr(dmaMem, dmaMemSize);