54 #include "emcc_regs.h" 55 #include "mxc_config.h" 68 EMCC_CACHE_ID_PARTNUM,
80 uint32_t
EMCC_ID(emcc_cache_id_t
id);
emcc_cache_id_t
Enumeration type for the EMCC Cache ID Register.
Definition: emcc.h:66
void EMCC_Disable(void)
Disables the data cache controller.
uint32_t EMCC_Cache_Size(void)
Gets the cache size in Kbytes.
uint32_t EMCC_ID(emcc_cache_id_t id)
Reads the data from the EMCC Cache ID Register.
void EMCC_Enable(void)
Enables the data cache controller.
uint32_t EMCC_Mem_Size(void)
Gets the main memory size in units of 128KB.
void EMCC_Critical_Word_First_Disable(void)
Disables critical-word-first mode with data cache controller.
void EMCC_Invalidate_All(void)
Invalidate the entire contents of the data cache.
void EMCC_Write_Alloc_Disable(void)
Disables write-allocate mode with data cache controller.
uint32_t EMCC_Ready(void)
Reads the EMCC Cache ready flag, which is set and cleared by hardware.
void EMCC_Write_Alloc_Enable(void)
Enables write-allocate mode with data cache controller.
void EMCC_Flush(void)
Flushes the data cache controller.
void EMCC_Critical_Word_First_Enable(void)
Enables critical-word-first mode with data cache controller.