Struct rp2040_pac2::pio::regs::SmPinctrl [−][src]
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]
fn clone(&self) -> SmPinctrl
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for SmPinctrl
[src]
impl Default for SmPinctrl
[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>,