![]() |
MCUXpresso SDK API Reference Manual
Rev. 0
NXP Semiconductors
|
Macros | |
#define | L1CODEBUSCACHE_LINESIZE_BYTE FSL_FEATURE_L1ICACHE_LINESIZE_BYTE |
code bus cache line size is equal to system bus line size, so the unified I/D cache line size equals too. More... | |
#define | L1SYSTEMBUSCACHE_LINESIZE_BYTE L1CODEBUSCACHE_LINESIZE_BYTE |
The system bus CACHE line size is 16B = 128b. More... | |
Driver version | |
#define | FSL_CACHE_DRIVER_VERSION (MAKE_VERSION(2, 0, 5)) |
cache driver version. More... | |
cache control for L1 cache (local memory controller for code/system bus cache) | |
void | L1CACHE_EnableCodeCache (void) |
Enables the processor code bus cache. | |
void | L1CACHE_DisableCodeCache (void) |
Disables the processor code bus cache. | |
void | L1CACHE_InvalidateCodeCache (void) |
Invalidates the processor code bus cache. | |
void | L1CACHE_InvalidateCodeCacheByRange (uint32_t address, uint32_t size_byte) |
Invalidates processor code bus cache by range. More... | |
void | L1CACHE_CleanCodeCache (void) |
Cleans the processor code bus cache. | |
void | L1CACHE_CleanCodeCacheByRange (uint32_t address, uint32_t size_byte) |
Cleans processor code bus cache by range. More... | |
void | L1CACHE_CleanInvalidateCodeCache (void) |
Cleans and invalidates the processor code bus cache. | |
void | L1CACHE_CleanInvalidateCodeCacheByRange (uint32_t address, uint32_t size_byte) |
Cleans and invalidate processor code bus cache by range. More... | |
static void | L1CACHE_EnableCodeCacheWriteBuffer (bool enable) |
Enables/disables the processor code bus write buffer. More... | |
void | L1CACHE_EnableSystemCache (void) |
Enables the processor system bus cache. | |
void | L1CACHE_DisableSystemCache (void) |
Disables the processor system bus cache. | |
void | L1CACHE_InvalidateSystemCache (void) |
Invalidates the processor system bus cache. | |
void | L1CACHE_InvalidateSystemCacheByRange (uint32_t address, uint32_t size_byte) |
Invalidates processor system bus cache by range. More... | |
void | L1CACHE_CleanSystemCache (void) |
Cleans the processor system bus cache. | |
void | L1CACHE_CleanSystemCacheByRange (uint32_t address, uint32_t size_byte) |
Cleans processor system bus cache by range. More... | |
void | L1CACHE_CleanInvalidateSystemCache (void) |
Cleans and invalidates the processor system bus cache. | |
void | L1CACHE_CleanInvalidateSystemCacheByRange (uint32_t address, uint32_t size_byte) |
Cleans and Invalidates processor system bus cache by range. More... | |
static void | L1CACHE_EnableSystemCacheWriteBuffer (bool enable) |
Enables/disables the processor system bus write buffer. More... | |
cache control for unified L1 cache driver | |
void | L1CACHE_InvalidateICacheByRange (uint32_t address, uint32_t size_byte) |
Invalidates cortex-m4 L1 instrument cache by range. More... | |
static void | L1CACHE_InvalidateDCacheByRange (uint32_t address, uint32_t size_byte) |
Invalidates cortex-m4 L1 data cache by range. More... | |
void | L1CACHE_CleanDCacheByRange (uint32_t address, uint32_t size_byte) |
Cleans cortex-m4 L1 data cache by range. More... | |
void | L1CACHE_CleanInvalidateDCacheByRange (uint32_t address, uint32_t size_byte) |
Cleans and Invalidates cortex-m4 L1 data cache by range. More... | |
Unified Cache Control for all caches | |
static void | ICACHE_InvalidateByRange (uint32_t address, uint32_t size_byte) |
Invalidates instruction cache by range. More... | |
static void | DCACHE_InvalidateByRange (uint32_t address, uint32_t size_byte) |
Invalidates data cache by range. More... | |
static void | DCACHE_CleanByRange (uint32_t address, uint32_t size_byte) |
Clean data cache by range. More... | |
static void | DCACHE_CleanInvalidateByRange (uint32_t address, uint32_t size_byte) |
Cleans and Invalidates data cache by range. More... | |
#define FSL_CACHE_DRIVER_VERSION (MAKE_VERSION(2, 0, 5)) |
#define L1CODEBUSCACHE_LINESIZE_BYTE FSL_FEATURE_L1ICACHE_LINESIZE_BYTE |
The code bus CACHE line size is 16B = 128b.
#define L1SYSTEMBUSCACHE_LINESIZE_BYTE L1CODEBUSCACHE_LINESIZE_BYTE |
void L1CACHE_InvalidateCodeCacheByRange | ( | uint32_t | address, |
uint32_t | size_byte | ||
) |
address | The physical address of cache. |
size_byte | size of the memory to be invalidated. |
void L1CACHE_CleanCodeCacheByRange | ( | uint32_t | address, |
uint32_t | size_byte | ||
) |
address | The physical address of cache. |
size_byte | size of the memory to be cleaned. |
void L1CACHE_CleanInvalidateCodeCacheByRange | ( | uint32_t | address, |
uint32_t | size_byte | ||
) |
address | The physical address of cache. |
size_byte | size of the memory to be Cleaned and Invalidated. |
|
inlinestatic |
enable | The enable or disable flag. true - enable the code bus write buffer. false - disable the code bus write buffer. |
void L1CACHE_InvalidateSystemCacheByRange | ( | uint32_t | address, |
uint32_t | size_byte | ||
) |
address | The physical address of cache. |
size_byte | size of the memory to be invalidated. |
void L1CACHE_CleanSystemCacheByRange | ( | uint32_t | address, |
uint32_t | size_byte | ||
) |
address | The physical address of cache. |
size_byte | size of the memory to be cleaned. |
void L1CACHE_CleanInvalidateSystemCacheByRange | ( | uint32_t | address, |
uint32_t | size_byte | ||
) |
address | The physical address of cache. |
size_byte | size of the memory to be Clean and Invalidated. |
|
inlinestatic |
enable | The enable or disable flag. true - enable the code bus write buffer. false - disable the code bus write buffer. |
void L1CACHE_InvalidateICacheByRange | ( | uint32_t | address, |
uint32_t | size_byte | ||
) |
address | The start address of the memory to be invalidated. |
size_byte | The memory size. |
|
inlinestatic |
address | The start address of the memory to be invalidated. |
size_byte | The memory size. |
void L1CACHE_CleanDCacheByRange | ( | uint32_t | address, |
uint32_t | size_byte | ||
) |
address | The start address of the memory to be cleaned. |
size_byte | The memory size. |
void L1CACHE_CleanInvalidateDCacheByRange | ( | uint32_t | address, |
uint32_t | size_byte | ||
) |
address | The start address of the memory to be clean and invalidated. |
size_byte | The memory size. |
|
inlinestatic |
address | The physical address. |
size_byte | size of the memory to be invalidated. |
|
inlinestatic |
address | The physical address. |
size_byte | size of the memory to be invalidated. |
|
inlinestatic |
address | The physical address. |
size_byte | size of the memory to be cleaned. |
|
inlinestatic |
address | The physical address. |
size_byte | size of the memory to be Cleaned and Invalidated. |