Struct rp2040_pac2::pio::regs::DbgCfginfo [−][src]
The PIO hardware has some free parameters that may vary between chip products. These should be provided in the chip datasheet, but are also exposed here.
Implementations
impl DbgCfginfo
[src]
pub const fn imem_size(&self) -> u8
[src]
The size of the instruction memory, measured in units of one instruction
pub fn set_imem_size(&mut self, val: u8)
[src]
The size of the instruction memory, measured in units of one instruction
pub const fn sm_count(&self) -> u8
[src]
The number of state machines this PIO instance is equipped with.
pub fn set_sm_count(&mut self, val: u8)
[src]
The number of state machines this PIO instance is equipped with.
pub const fn fifo_depth(&self) -> u8
[src]
The depth of the state machine TX/RX FIFOs, measured in words. Joining fifos via SHIFTCTRL_FJOIN gives one FIFO with double this depth.
pub fn set_fifo_depth(&mut self, val: u8)
[src]
The depth of the state machine TX/RX FIFOs, measured in words. Joining fifos via SHIFTCTRL_FJOIN gives one FIFO with double this depth.
Trait Implementations
impl Clone for DbgCfginfo
[src]
fn clone(&self) -> DbgCfginfo
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for DbgCfginfo
[src]
impl Default for DbgCfginfo
[src]
fn default() -> DbgCfginfo
[src]
Auto Trait Implementations
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,