StateMachineIndex

Trait StateMachineIndex 

Source
pub trait StateMachineIndex: Send + Sealed {
    // Required method
    fn id() -> usize;
}
Expand description

State machine identifier (without a specified PIO block).

Required Methods§

Source

fn id() -> usize

Numerical index of the state machine (0 to 3).

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§