Jump to main content

##

# 2.7.18 CACHE_CacheFlush Function

## C

    void CACHE_CacheFlush(void)

## Summary

Flushes the L1 cache.

## Description

Flushes both instruction and data caches. Invalidate entire instruction cache; write back and invalidate entire data cache.

## Parameters

None.

## Returns

None.

## Example

    CACHE_CacheFlush();

## Remarks

Simplest way to sychnronize caches with memory, but not necessarily the most efficient.