Type Alias rp2040_pac::xip_ctrl::stream_ctr::R

source ·
pub type R = R<STREAM_CTR_SPEC>;
Expand description

Register STREAM_CTR reader

Aliased Type§

struct R { /* private fields */ }

Implementations§

source§

impl R

source

pub fn stream_ctr(&self) -> STREAM_CTR_R

Bits 0:21 - Write a nonzero value to start a streaming read. This will then
progress in the background, using flash idle cycles to transfer
a linear data block from flash to the streaming FIFO.
Decrements automatically (1 at a time) as the stream
progresses, and halts on reaching 0.
Write 0 to halt an in-progress stream, and discard any in-flight
read, so that a new stream can immediately be started (after
draining the FIFO and reinitialising STREAM_ADDR)