Basic Native CMSIS Register Access Documentation 1.0
The Common Microcontroller Software Interface Standard (CMSIS) simplifies microcontroller software development, providing a consistent and efficient interface for developers working with Cortex-M and entry-level Cortex-A processors. It promotes code reuse, portability, and interoperability, enabling developers to focus on application-level logic rather than dealing with low-level hardware details.
Loading...
Searching...
No Matches
cachel1_armv7.h File Reference

Go to the source code of this file.

Macros

#define ARM_CACHEL1_ARMV7_H
 
#define CCSIDR_WAYS(x)   (((x) & SCB_CCSIDR_ASSOCIATIVITY_Msk) >> SCB_CCSIDR_ASSOCIATIVITY_Pos)
 
#define CCSIDR_SETS(x)   (((x) & SCB_CCSIDR_NUMSETS_Msk ) >> SCB_CCSIDR_NUMSETS_Pos )
 
#define __SCB_DCACHE_LINE_SIZE   32U
 
#define __SCB_ICACHE_LINE_SIZE   32U
 

Functions

__STATIC_FORCEINLINE void SCB_EnableICache (void)
 Enable I-Cache.
 
__STATIC_FORCEINLINE void SCB_DisableICache (void)
 Disable I-Cache.
 
__STATIC_FORCEINLINE void SCB_InvalidateICache (void)
 Invalidate I-Cache.
 
__STATIC_FORCEINLINE void SCB_InvalidateICache_by_Addr (volatile void *addr, int32_t isize)
 I-Cache Invalidate by address.
 
__STATIC_FORCEINLINE void SCB_EnableDCache (void)
 Enable D-Cache.
 
__STATIC_FORCEINLINE void SCB_DisableDCache (void)
 Disable D-Cache.
 
__STATIC_FORCEINLINE void SCB_InvalidateDCache (void)
 Invalidate D-Cache.
 
__STATIC_FORCEINLINE void SCB_CleanDCache (void)
 Clean D-Cache.
 
__STATIC_FORCEINLINE void SCB_CleanInvalidateDCache (void)
 Clean & Invalidate D-Cache.
 
__STATIC_FORCEINLINE void SCB_InvalidateDCache_by_Addr (volatile void *addr, int32_t dsize)
 D-Cache Invalidate by address.
 
__STATIC_FORCEINLINE void SCB_CleanDCache_by_Addr (volatile void *addr, int32_t dsize)
 D-Cache Clean by address.
 
__STATIC_FORCEINLINE void SCB_CleanInvalidateDCache_by_Addr (volatile void *addr, int32_t dsize)
 D-Cache Clean and Invalidate by address.
 

Macro Definition Documentation

◆ ARM_CACHEL1_ARMV7_H

#define ARM_CACHEL1_ARMV7_H