Jump to main content

##

# 2.7.2 CACHE_InstructionCacheLock Function

## C

    void CACHE_InstructionCacheLock(uint32_t addr, size_t len)

## Summary

Fetch and lock a block of instructions in the instruction cache.

## Description

Fetch and lock a block of instructions in the instruction cache.

## Parameters

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

## Returns

None.

## Example

    CACHE_InstructionCacheLock(addr, len);

## Remarks

Global flush functions will invalidate and unlock any cache lines locked with this function.