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

source

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.

source

pub unsafe fn bits(&mut self, bits: u32) -> &mut Self

Writes raw bits to the register.

§Safety

Passing incorrect value can cause undefined behaviour. See reference manual