Jump to main content

##

# 1.2.2 Cache System Service

The Cache system service uses either CMSIS Cache interfaces or the device specific Cache Peripheral interfaces based on the device selection to perform the Data and Instruction Cache operations. It provides interface to Enable, Disable, Clean, Invalidate Data and Instruction Cache.

Abstraction Model

This library provides an abstraction of the Cache subsystem that is used by device drivers, middleware libraries and applications to perform Cache maintenance operations.

Library Interface

Cache system service provides the following interfaces:

Functions

Name | Description
--- | ---
SYS_CACHE_EnableCaches | Enables both Instruction and Data Caches
SYS_CACHE_DisableCaches | Disables both Instruction and Data Caches
SYS_CACHE_EnableICache | Enable Instruction Cache
SYS_CACHE_DisableICache | Disable Instruction Cache
SYS_CACHE_InvalidateICache | Invalidate Instruction Cache
SYS_CACHE_EnableDCache | Enable Data Cache
SYS_CACHE_DisableDCache | Disable Data Cache
SYS_CACHE_InvalidateDCache | Invalidate Data Cache
SYS_CACHE_CleanDCache | Clean Data Cache
SYS_CACHE_CleanInvalidateDCache | Clean and Invalidate Data Cache
SYS_CACHE_InvalidateDCache_by_Addr | Invalidate Data Cache by address
SYS_CACHE_CleanDCache_by_Addr | Data Cache Clean by address
SYS_CACHE_CleanInvalidateDCache_by_Addr | Data Cache Clean and Invalidate by address