Type Alias rp2040_pac::xip_ctrl::flush::W
source · pub type W = W<FLUSH_SPEC>;
Expand description
Register FLUSH
writer
Aliased Type§
struct W { /* private fields */ }
Implementations§
source§impl W
impl W
sourcepub fn flush(&mut self) -> FLUSH_W<'_, FLUSH_SPEC>
pub fn flush(&mut self) -> FLUSH_W<'_, FLUSH_SPEC>
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.