Skip to main content
← PSoXide SDK guides and examples · SDK 80d1c329e977 · All Cargo features enabled; check feature gates before use.

flush_instruction_cache

Function flush_instruction_cache 

Source
pub fn flush_instruction_cache()
Expand description

Invalidate every line of the instruction cache, once the DMA channels are idle.

with_dma_quiesced with a closure that only flushes, so no tokens are needed: the closure starts no transfer, which is the whole of what the token set proves. Interrupts are off for the whole time the cache is being changed.