Skip to main content

PioProgramPin

Trait PioProgramPin 

Source
pub trait PioProgramPin { }
Expand description

Type-erased view of a PIO-capable pin used to select a PIO GPIO window.

This is implemented for every typed Embassy Peri containing a PioPin, allowing heterogeneous pins to be passed to BusAllocator::request_pio.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl<P: PioPin> PioProgramPin for Peri<'static, P>

Implementors§