2.57.5 PLIB_L2CC_InvalidateCacheByAddr Function

C

void PLIB_L2CC_InvalidateCacheByAddr(uint32_t *addr, uint32_t size);

Summary

Invalidates L2 cache entries.

Description

This function will mark cache entries within the givin address range as invalid.

Precondition

PLIB_L2CC_Initialize has been called.

Parameters

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

Returns

None.

Example

PLIB_L2CC_InvalidateCacheByAddr(dmaMem, dmaMemSize);