Struct rp_pac::pio::StateMachine
source · pub struct StateMachine { /* private fields */ }
Implementations§
source§impl StateMachine
impl StateMachine
pub const unsafe fn from_ptr(ptr: *mut ()) -> Self
pub const fn as_ptr(&self) -> *mut ()
sourcepub const fn clkdiv(self) -> Reg<SmClkdiv, RW>
pub const fn clkdiv(self) -> Reg<SmClkdiv, RW>
Clock divisor register for state machine 0 Frequency = clock freq / (CLKDIV_INT + CLKDIV_FRAC / 256)
sourcepub const fn execctrl(self) -> Reg<SmExecctrl, RW>
pub const fn execctrl(self) -> Reg<SmExecctrl, RW>
Execution/behavioural settings for state machine 0
sourcepub const fn shiftctrl(self) -> Reg<SmShiftctrl, RW>
pub const fn shiftctrl(self) -> Reg<SmShiftctrl, RW>
Control behaviour of the input/output shift registers for state machine 0
Trait Implementations§
source§impl Clone for StateMachine
impl Clone for StateMachine
source§fn clone(&self) -> StateMachine
fn clone(&self) -> StateMachine
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl PartialEq<StateMachine> for StateMachine
impl PartialEq<StateMachine> for StateMachine
source§fn eq(&self, other: &StateMachine) -> bool
fn eq(&self, other: &StateMachine) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for StateMachine
impl Eq for StateMachine
impl Send for StateMachine
impl StructuralEq for StateMachine
impl StructuralPartialEq for StateMachine
impl Sync for StateMachine
Auto Trait Implementations§
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more