Struct rp2040_pac2::pio::StateMachine[][src]

pub struct StateMachine(pub *mut u8);

Implementations

impl StateMachine[src]

pub fn clkdiv(self) -> Reg<SmClkdiv, RW>[src]

Clock divider register for state machine 1 Frequency = clock freq / (CLKDIV_INT + CLKDIV_FRAC / 256)

pub fn execctrl(self) -> Reg<SmExecctrl, RW>[src]

Execution/behavioural settings for state machine 1

pub fn shiftctrl(self) -> Reg<SmShiftctrl, RW>[src]

Control behaviour of the input/output shift registers for state machine 1

pub fn addr(self) -> Reg<SmAddr, RW>[src]

Current instruction address of state machine 1

pub fn instr(self) -> Reg<SmInstr, RW>[src]

Instruction currently being executed by state machine 1 Write to execute an instruction immediately (including jumps) and then resume execution.

pub fn pinctrl(self) -> Reg<SmPinctrl, RW>[src]

State machine pin control

Trait Implementations

impl Clone for StateMachine[src]

impl Copy for StateMachine[src]

impl Send for StateMachine[src]

impl Sync for StateMachine[src]

Auto Trait Implementations

impl Unpin for StateMachine

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.