Struct rp_pac::pio::StateMachine
source · pub struct StateMachine(pub *mut u8);
Tuple Fields§
§0: *mut u8
Implementations§
source§impl StateMachine
impl StateMachine
sourcepub fn clkdiv(self) -> Reg<SmClkdiv, RW>
pub fn clkdiv(self) -> Reg<SmClkdiv, RW>
Clock divisor register for state machine 2 Frequency = clock freq / (CLKDIV_INT + CLKDIV_FRAC / 256)
sourcepub fn execctrl(self) -> Reg<SmExecctrl, RW>
pub fn execctrl(self) -> Reg<SmExecctrl, RW>
Execution/behavioural settings for state machine 2
sourcepub fn shiftctrl(self) -> Reg<SmShiftctrl, RW>
pub fn shiftctrl(self) -> Reg<SmShiftctrl, RW>
Control behaviour of the input/output shift registers for state machine 2
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