|
STAR
Cal STAR — firmware, DAQ server, and engine design
|
Functions that configure Instruction and Data cache. More...
Topics | |
| SysTick Functions | |
| Functions that configure the System. | |
Functions | |
| __STATIC_FORCEINLINE void | SCB_InvalidateICache_by_Addr (volatile void *addr, int32_t isize) |
| I-Cache Invalidate by address. | |
| __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. | |
| __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_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_InvalidateICache_by_Addr (void *addr, int32_t isize) |
| I-Cache Invalidate by address. | |
| __STATIC_FORCEINLINE void | SCB_InvalidateDCache_by_Addr (void *addr, int32_t dsize) |
| D-Cache Invalidate by address. | |
| __STATIC_FORCEINLINE void | SCB_CleanDCache_by_Addr (uint32_t *addr, int32_t dsize) |
| D-Cache Clean by address. | |
| __STATIC_FORCEINLINE void | SCB_CleanInvalidateDCache_by_Addr (uint32_t *addr, int32_t dsize) |
| D-Cache Clean and Invalidate by address. | |
| #define | CCSIDR_WAYS(x) |
| #define | CCSIDR_SETS(x) |
| #define | __SCB_DCACHE_LINE_SIZE 32U |
| Cortex-M7 cache line size is fixed to 32 bytes (8 words). | |
| #define | __SCB_ICACHE_LINE_SIZE 32U |
| Cortex-M7 cache line size is fixed to 32 bytes (8 words). | |
| #define | CCSIDR_WAYS(x) |
| #define | CCSIDR_SETS(x) |
| #define | __SCB_DCACHE_LINE_SIZE 32U |
| STAR-MC1 cache line size is fixed to 32 bytes (8 words). | |
| #define | __SCB_ICACHE_LINE_SIZE 32U |
| STAR-MC1 cache line size is fixed to 32 bytes (8 words). | |
Functions that configure Instruction and Data cache.
| #define __SCB_DCACHE_LINE_SIZE 32U |
Cortex-M7 cache line size is fixed to 32 bytes (8 words).
STAR-MC1 cache line size is fixed to 32 bytes (8 words).
See also register SCB_CCSIDR
Definition at line 46 of file cachel1_armv7.h.
Referenced by SCB_CleanDCache_by_Addr(), SCB_CleanDCache_by_Addr(), SCB_CleanInvalidateDCache_by_Addr(), SCB_CleanInvalidateDCache_by_Addr(), SCB_DisableDCache(), SCB_InvalidateDCache_by_Addr(), and SCB_InvalidateDCache_by_Addr().
| #define __SCB_DCACHE_LINE_SIZE 32U |
STAR-MC1 cache line size is fixed to 32 bytes (8 words).
See also register SCB_CCSIDR
Definition at line 3071 of file core_starmc1.h.
| #define __SCB_ICACHE_LINE_SIZE 32U |
Cortex-M7 cache line size is fixed to 32 bytes (8 words).
STAR-MC1 cache line size is fixed to 32 bytes (8 words).
See also register SCB_CCSIDR
Definition at line 50 of file cachel1_armv7.h.
Referenced by SCB_InvalidateICache_by_Addr(), and SCB_InvalidateICache_by_Addr().
| #define __SCB_ICACHE_LINE_SIZE 32U |
STAR-MC1 cache line size is fixed to 32 bytes (8 words).
See also register SCB_CCSIDR
Definition at line 3072 of file core_starmc1.h.
| #define CCSIDR_SETS | ( | x | ) |
Definition at line 43 of file cachel1_armv7.h.
Referenced by SCB_CleanDCache(), SCB_CleanInvalidateDCache(), SCB_DisableDCache(), SCB_EnableDCache(), and SCB_InvalidateDCache().
| #define CCSIDR_SETS | ( | x | ) |
Definition at line 3069 of file core_starmc1.h.
| #define CCSIDR_WAYS | ( | x | ) |
Definition at line 42 of file cachel1_armv7.h.
Referenced by SCB_CleanDCache(), SCB_CleanInvalidateDCache(), SCB_DisableDCache(), SCB_EnableDCache(), and SCB_InvalidateDCache().
| #define CCSIDR_WAYS | ( | x | ) |
Definition at line 3068 of file core_starmc1.h.
| __STATIC_FORCEINLINE void SCB_CleanDCache | ( | void | ) |
Clean D-Cache.
Cleans D-Cache
Definition at line 284 of file cachel1_armv7.h.
References __DSB, __ISB, __STATIC_FORCEINLINE, CCSIDR_SETS, CCSIDR_WAYS, SCB, SCB_DCCSW_SET_Msk, SCB_DCCSW_SET_Pos, SCB_DCCSW_WAY_Msk, and SCB_DCCSW_WAY_Pos.
| __STATIC_FORCEINLINE void SCB_CleanDCache_by_Addr | ( | uint32_t * | addr, |
| int32_t | dsize ) |
D-Cache Clean by address.
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.
| [in] | addr | address |
| [in] | dsize | size of memory block (in number of bytes) |
Definition at line 3379 of file core_starmc1.h.
References __DSB, __ISB, __SCB_DCACHE_LINE_SIZE, __STATIC_FORCEINLINE, and SCB.
| __STATIC_FORCEINLINE void SCB_CleanDCache_by_Addr | ( | volatile void * | addr, |
| int32_t | dsize ) |
D-Cache Clean by address.
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.
| [in] | addr | address |
| [in] | dsize | size of memory block (in number of bytes) |
Definition at line 388 of file cachel1_armv7.h.
References __DSB, __ISB, __SCB_DCACHE_LINE_SIZE, __STATIC_FORCEINLINE, and SCB.
Referenced by port_write().
| __STATIC_FORCEINLINE void SCB_CleanInvalidateDCache | ( | void | ) |
Clean & Invalidate D-Cache.
Cleans and Invalidates D-Cache
Definition at line 319 of file cachel1_armv7.h.
References __DSB, __ISB, __STATIC_FORCEINLINE, CCSIDR_SETS, CCSIDR_WAYS, SCB, SCB_DCCISW_SET_Msk, SCB_DCCISW_SET_Pos, SCB_DCCISW_WAY_Msk, and SCB_DCCISW_WAY_Pos.
| __STATIC_FORCEINLINE void SCB_CleanInvalidateDCache_by_Addr | ( | uint32_t * | addr, |
| int32_t | dsize ) |
D-Cache Clean and Invalidate by address.
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.
| [in] | addr | address (aligned to 32-byte boundary) |
| [in] | dsize | size of memory block (in number of bytes) |
Definition at line 3409 of file core_starmc1.h.
References __DSB, __ISB, __SCB_DCACHE_LINE_SIZE, __STATIC_FORCEINLINE, and SCB.
| __STATIC_FORCEINLINE void SCB_CleanInvalidateDCache_by_Addr | ( | volatile void * | addr, |
| int32_t | dsize ) |
D-Cache Clean and Invalidate by address.
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.
| [in] | addr | address (aligned to 32-byte boundary) |
| [in] | dsize | size of memory block (in number of bytes) |
Definition at line 418 of file cachel1_armv7.h.
References __DSB, __ISB, __SCB_DCACHE_LINE_SIZE, __STATIC_FORCEINLINE, and SCB.
| __STATIC_FORCEINLINE void SCB_DisableDCache | ( | void | ) |
Disable D-Cache.
Turns off D-Cache
Definition at line 181 of file cachel1_armv7.h.
References __ALIGNED, __DSB, __ISB, __SCB_DCACHE_LINE_SIZE, __STATIC_FORCEINLINE, CCSIDR_SETS, CCSIDR_WAYS, SCB, SCB_CCR_DC_Msk, SCB_DCCISW_SET_Msk, SCB_DCCISW_SET_Pos, SCB_DCCISW_WAY_Msk, and SCB_DCCISW_WAY_Pos.
| __STATIC_FORCEINLINE void SCB_DisableICache | ( | void | ) |
Disable I-Cache.
Turns off I-Cache
Definition at line 78 of file cachel1_armv7.h.
References __DSB, __ISB, __STATIC_FORCEINLINE, SCB, and SCB_CCR_IC_Msk.
| __STATIC_FORCEINLINE void SCB_EnableDCache | ( | void | ) |
Enable D-Cache.
Turns on D-Cache
Definition at line 141 of file cachel1_armv7.h.
References __DSB, __ISB, __STATIC_FORCEINLINE, CCSIDR_SETS, CCSIDR_WAYS, SCB, SCB_CCR_DC_Msk, SCB_DCISW_SET_Msk, SCB_DCISW_SET_Pos, SCB_DCISW_WAY_Msk, and SCB_DCISW_WAY_Pos.
| __STATIC_FORCEINLINE void SCB_EnableICache | ( | void | ) |
Enable I-Cache.
Turns on I-Cache
Definition at line 57 of file cachel1_armv7.h.
References __DSB, __ISB, __STATIC_FORCEINLINE, SCB, and SCB_CCR_IC_Msk.
| __STATIC_FORCEINLINE void SCB_InvalidateDCache | ( | void | ) |
Invalidate D-Cache.
Invalidates D-Cache
Definition at line 249 of file cachel1_armv7.h.
References __DSB, __ISB, __STATIC_FORCEINLINE, CCSIDR_SETS, CCSIDR_WAYS, SCB, SCB_DCISW_SET_Msk, SCB_DCISW_SET_Pos, SCB_DCISW_WAY_Msk, and SCB_DCISW_WAY_Pos.
| __STATIC_FORCEINLINE void SCB_InvalidateDCache_by_Addr | ( | void * | addr, |
| int32_t | dsize ) |
D-Cache Invalidate by address.
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.
| [in] | addr | address |
| [in] | dsize | size of memory block (in number of bytes) |
Definition at line 3349 of file core_starmc1.h.
References __DSB, __ISB, __SCB_DCACHE_LINE_SIZE, __STATIC_FORCEINLINE, and SCB.
| __STATIC_FORCEINLINE void SCB_InvalidateDCache_by_Addr | ( | volatile void * | addr, |
| int32_t | dsize ) |
D-Cache Invalidate by address.
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.
| [in] | addr | address |
| [in] | dsize | size of memory block (in number of bytes) |
Definition at line 358 of file cachel1_armv7.h.
References __DSB, __ISB, __SCB_DCACHE_LINE_SIZE, __STATIC_FORCEINLINE, and SCB.
Referenced by port_read().
| __STATIC_FORCEINLINE void SCB_InvalidateICache | ( | void | ) |
Invalidate I-Cache.
Invalidates I-Cache
Definition at line 95 of file cachel1_armv7.h.
References __DSB, __ISB, __STATIC_FORCEINLINE, and SCB.
| __STATIC_FORCEINLINE void SCB_InvalidateICache_by_Addr | ( | void * | addr, |
| int32_t | isize ) |
I-Cache Invalidate by address.
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.
| [in] | addr | address |
| [in] | isize | size of memory block (in number of bytes) |
Definition at line 3136 of file core_starmc1.h.
References __DSB, __ISB, __SCB_ICACHE_LINE_SIZE, __STATIC_FORCEINLINE, and SCB.
| __STATIC_FORCEINLINE void SCB_InvalidateICache_by_Addr | ( | volatile void * | addr, |
| int32_t | isize ) |
I-Cache Invalidate by address.
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.
| [in] | addr | address |
| [in] | isize | size of memory block (in number of bytes) |
Definition at line 115 of file cachel1_armv7.h.
References __DSB, __ISB, __SCB_ICACHE_LINE_SIZE, __STATIC_FORCEINLINE, and SCB.