rp2040_pac::pio0::dbg_cfginfo

Type Alias R

Source
pub type R = R<DBG_CFGINFO_SPEC>;
Expand description

Register DBG_CFGINFO reader

Aliased Type§

struct R { /* private fields */ }

Implementations§

Source§

impl R

Source

pub fn fifo_depth(&self) -> FIFO_DEPTH_R

Bits 0:5 - The depth of the state machine TX/RX FIFOs, measured in words.
Joining fifos via SHIFTCTRL_FJOIN gives one FIFO with double
this depth.

Source

pub fn sm_count(&self) -> SM_COUNT_R

Bits 8:11 - The number of state machines this PIO instance is equipped with.

Source

pub fn imem_size(&self) -> IMEM_SIZE_R

Bits 16:21 - The size of the instruction memory, measured in units of one instruction