Struct rp2040_pac::xip_ctrl::RegisterBlock
source · #[repr(C)]pub struct RegisterBlock { /* private fields */ }
Expand description
Register block
Implementations§
source§impl RegisterBlock
impl RegisterBlock
sourcepub const fn ctr_hit(&self) -> &CTR_HIT
pub const fn ctr_hit(&self) -> &CTR_HIT
0x0c - Cache Hit counter
A 32 bit saturating counter that increments upon each cache hit,
i.e. when an XIP access is serviced directly from cached data.
Write any value to clear.
sourcepub const fn ctr_acc(&self) -> &CTR_ACC
pub const fn ctr_acc(&self) -> &CTR_ACC
0x10 - Cache Access counter
A 32 bit saturating counter that increments upon each XIP access,
whether the cache is hit or not. This includes noncacheable accesses.
Write any value to clear.
sourcepub const fn stream_addr(&self) -> &STREAM_ADDR
pub const fn stream_addr(&self) -> &STREAM_ADDR
0x14 - FIFO stream address
sourcepub const fn stream_ctr(&self) -> &STREAM_CTR
pub const fn stream_ctr(&self) -> &STREAM_CTR
0x18 - FIFO stream control
sourcepub const fn stream_fifo(&self) -> &STREAM_FIFO
pub const fn stream_fifo(&self) -> &STREAM_FIFO
0x1c - FIFO stream data
Streamed data is buffered here, for retrieval by the system DMA.
This FIFO can also be accessed via the XIP_AUX slave, to avoid exposing
the DMA to bus stalls caused by other XIP traffic.
Auto Trait Implementations§
impl !Freeze for RegisterBlock
impl !RefUnwindSafe for RegisterBlock
impl Send for RegisterBlock
impl !Sync for RegisterBlock
impl Unpin for RegisterBlock
impl UnwindSafe for RegisterBlock
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more