Type Alias rp2040_pac::pio0::dbg_cfginfo::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