Jump to main content

##

# 2.7.21 CACHE_CacheClean Function

## C

    void CACHE_CacheClean(uint32_t addr, size_t len)

## Summary

Write back and invalidate an address range in either cache.

## Description

Write back (data) and invalidate (data and address) an address range in either cache.

## Parameters

Param | Description
--- | ---
uint32_t addr | address (aligned to 32-byte boundary)
size_t len | size of memory block (in number of bytes)

## Returns

None.

## Example

    CACHE_CacheClean(addr, len);

## Remarks

None.