Functions that configure Instruction and Data cache.
More...
◆ __SCB_DCACHE_LINE_SIZE
#define __SCB_DCACHE_LINE_SIZE 32U |
Cortex-M7 cache line size is fixed to 32 bytes (8 words). See also register SCB_CCSIDR
◆ __SCB_ICACHE_LINE_SIZE
#define __SCB_ICACHE_LINE_SIZE 32U |
Cortex-M7 cache line size is fixed to 32 bytes (8 words). See also register SCB_CCSIDR
◆ SCB_CleanDCache()
__STATIC_FORCEINLINE void SCB_CleanDCache |
( |
void | | ) |
|
◆ SCB_CleanDCache_by_Addr()
__STATIC_FORCEINLINE void SCB_CleanDCache_by_Addr |
( |
uint32_t * | addr, |
|
|
int32_t | dsize ) |
Cleans D-Cache for the given address D-Cache is cleaned starting from a 32 byte aligned address in 32 byte granularity. D-Cache memory blocks which are part of given address + given size are cleaned.
- Parameters
-
[in] | addr | address |
[in] | dsize | size of memory block (in number of bytes) |
◆ SCB_CleanInvalidateDCache()
__STATIC_FORCEINLINE void SCB_CleanInvalidateDCache |
( |
void | | ) |
|
Cleans and Invalidates D-Cache
◆ SCB_CleanInvalidateDCache_by_Addr()
__STATIC_FORCEINLINE void SCB_CleanInvalidateDCache_by_Addr |
( |
uint32_t * | addr, |
|
|
int32_t | dsize ) |
Cleans and invalidates D_Cache for the given address D-Cache is cleaned and invalidated starting from a 32 byte aligned address in 32 byte granularity. D-Cache memory blocks which are part of given address + given size are cleaned and invalidated.
- Parameters
-
[in] | addr | address (aligned to 32-byte boundary) |
[in] | dsize | size of memory block (in number of bytes) |
◆ SCB_DisableDCache()
__STATIC_FORCEINLINE void SCB_DisableDCache |
( |
void | | ) |
|
◆ SCB_DisableICache()
__STATIC_FORCEINLINE void SCB_DisableICache |
( |
void | | ) |
|
◆ SCB_EnableDCache()
__STATIC_FORCEINLINE void SCB_EnableDCache |
( |
void | | ) |
|
◆ SCB_EnableICache()
__STATIC_FORCEINLINE void SCB_EnableICache |
( |
void | | ) |
|
◆ SCB_InvalidateDCache()
__STATIC_FORCEINLINE void SCB_InvalidateDCache |
( |
void | | ) |
|
◆ SCB_InvalidateDCache_by_Addr()
__STATIC_FORCEINLINE void SCB_InvalidateDCache_by_Addr |
( |
void * | addr, |
|
|
int32_t | dsize ) |
Invalidates D-Cache for the given address. D-Cache is invalidated starting from a 32 byte aligned address in 32 byte granularity. D-Cache memory blocks which are part of given address + given size are invalidated.
- Parameters
-
[in] | addr | address |
[in] | dsize | size of memory block (in number of bytes) |
◆ SCB_InvalidateICache()
__STATIC_FORCEINLINE void SCB_InvalidateICache |
( |
void | | ) |
|
◆ SCB_InvalidateICache_by_Addr()
__STATIC_FORCEINLINE void SCB_InvalidateICache_by_Addr |
( |
void * | addr, |
|
|
int32_t | isize ) |
Invalidates I-Cache for the given address. I-Cache is invalidated starting from a 32 byte aligned address in 32 byte granularity. I-Cache memory blocks which are part of given address + given size are invalidated.
- Parameters
-
[in] | addr | address |
[in] | isize | size of memory block (in number of bytes) |