Struct rp2040_pac2::pio::regs::SmPinctrl[][src]

#[repr(transparent)]pub struct SmPinctrl(pub u32);

State machine pin control

Implementations

impl SmPinctrl[src]

pub const fn sideset_count(&self) -> u8[src]

The number of delay bits co-opted for side-set. Inclusive of the enable bit, if present.

pub fn set_sideset_count(&mut self, val: u8)[src]

The number of delay bits co-opted for side-set. Inclusive of the enable bit, if present.

pub const fn set_count(&self) -> u8[src]

The number of pins asserted by a SET. Max of 5

pub fn set_set_count(&mut self, val: u8)[src]

The number of pins asserted by a SET. Max of 5

pub const fn out_count(&self) -> u8[src]

The number of pins asserted by an OUT. Value of 0 -> 32 pins

pub fn set_out_count(&mut self, val: u8)[src]

The number of pins asserted by an OUT. Value of 0 -> 32 pins

pub const fn in_base(&self) -> u8[src]

The virtual pin corresponding to IN bit 0

pub fn set_in_base(&mut self, val: u8)[src]

The virtual pin corresponding to IN bit 0

pub const fn sideset_base(&self) -> u8[src]

The virtual pin corresponding to delay field bit 0

pub fn set_sideset_base(&mut self, val: u8)[src]

The virtual pin corresponding to delay field bit 0

pub const fn set_base(&self) -> u8[src]

The virtual pin corresponding to SET bit 0

pub fn set_set_base(&mut self, val: u8)[src]

The virtual pin corresponding to SET bit 0

pub const fn out_base(&self) -> u8[src]

The virtual pin corresponding to OUT bit 0

pub fn set_out_base(&mut self, val: u8)[src]

The virtual pin corresponding to OUT bit 0

Trait Implementations

impl Clone for SmPinctrl[src]

impl Copy for SmPinctrl[src]

impl Default for SmPinctrl[src]

Auto Trait Implementations

impl Send for SmPinctrl

impl Sync for SmPinctrl

impl Unpin for SmPinctrl

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.