Type Alias rp2040_pac::xip_ctrl::flush::R
source · pub type R = R<FLUSH_SPEC>;
Expand description
Register FLUSH
reader
Aliased Type§
struct R { /* private fields */ }
Implementations§
source§impl R
impl R
sourcepub fn flush(&self) -> FLUSH_R
pub fn flush(&self) -> FLUSH_R
Bit 0 - Write 1 to flush the cache. This clears the tag memory, but
the data memory retains its contents. (This means cache-as-SRAM
contents is not affected by flush or reset.)
Reading will hold the bus (stall the processor) until the flush
completes. Alternatively STAT can be polled until completion.