51 #include "emcc_regs.h" 52 #include "mxc_device.h" 65 EMCC_CACHE_ID_PARTNUM,
mxc_emcc_cache_id_t
Definition: emcc.h:63
uint32_t MXC_EMCC_ID(mxc_emcc_cache_id_t id)
Reads the data from the EMCC Cache ID Register.
void MXC_EMCC_WriteAllocEnable(void)
Enables write-allocate mode with data cache controller.
void MXC_EMCC_Flush(void)
Flushes the data cache controller.
uint32_t MXC_EMCC_MemSize(void)
Gets the main memory size in units of 128KB. The default value is 512MB.
void MXC_EMCC_Enable(void)
Enables the data cache controller.
void MXC_EMCC_WriteAllocDisable(void)
Disables write-allocate mode with data cache controller.
void MXC_EMCC_Disable(void)
Disables the data cache controller.
uint32_t MXC_EMCC_CacheSize(void)
Gets the cache size in Kbytes. The default value is 16KB.
uint32_t MXC_EMCC_Ready(void)
Reads the EMCC Cache ready flag, which is set and cleared by hardware.
void MXC_EMCC_CriticalWordFirstDisable(void)
Disables critical-word-first mode with data cache controller.
void MXC_EMCC_CriticalWordFirstEnable(void)
Enables critical-word-first mode with data cache controller.