Functions for the level-1 data cache. More...
Functions | |
__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. | |
Functions for the level-1 data cache.
// close ICache functions
__STATIC_FORCEINLINE void SCB_CleanDCache | ( | void | ) |
Clean D-Cache.
The function cleans the entire data cache.
__STATIC_FORCEINLINE void SCB_CleanDCache_by_Addr | ( | volatile void * | addr, |
int32_t | dsize | ||
) |
D-Cache Clean by address.
[in] | addr | address (aligned to 32-byte boundary) |
[in] | dsize | size of memory block (in number of bytes) |
The function cleans a memory block of size dsize [bytes] starting at address address. The address is aligned to 32-byte boundary.
__STATIC_FORCEINLINE void SCB_CleanInvalidateDCache | ( | void | ) |
Clean & Invalidate D-Cache.
The function cleans and invalidates the entire data cache.
__STATIC_FORCEINLINE void SCB_CleanInvalidateDCache_by_Addr | ( | volatile void * | addr, |
int32_t | dsize | ||
) |
D-Cache Clean and Invalidate by address.
[in] | addr | address (aligned to 32-byte boundary) |
[in] | dsize | size of memory block (in number of bytes) |
The function invalidates and cleans a memory block of size dsize [bytes] starting at address address. The address is aligned to 32-byte boundary.
__STATIC_FORCEINLINE void SCB_DisableDCache | ( | void | ) |
Disable D-Cache.
The function turns off the entire data cache.
__STATIC_FORCEINLINE void SCB_EnableDCache | ( | void | ) |
Enable D-Cache.
The function turns on the entire data cache.
__STATIC_FORCEINLINE void SCB_InvalidateDCache | ( | void | ) |
Invalidate D-Cache.
The function invalidates the entire data cache.
__STATIC_FORCEINLINE void SCB_InvalidateDCache_by_Addr | ( | volatile void * | addr, |
int32_t | dsize | ||
) |
D-Cache Invalidate by address.
[in] | addr | address (aligned to 32-byte boundary) |
[in] | dsize | size of memory block (in number of bytes) |
The function invalidates a memory block of size dsize [bytes] starting at address address. The address is aligned to 32-byte boundary.