Jump to main content

##

# 2.60.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

Param | Description
--- | ---
addr | The start address of the memory range to be invalidated
size | The size of the memory range to be invalidated

## Returns

None.

## Example

    PLIB_L2CC_InvalidateCacheByAddr(dmaMem, dmaMemSize);