Trait PeripheralSignal

Source
pub trait PeripheralSignal<'d>: Sealed { }
Available on crate feature unstable only.
Expand description

The base of all peripheral signals.

This trait represents a signal in the GPIO matrix. Signals are converted or split from GPIO pins and can be connected to peripheral inputs and outputs.

All signals can be peripheral inputs, but not all output-like types should be allowed to be passed as inputs. This trait bridges this gap by defining the logic, but not declaring the signal to be an actual Input signal.

Implementors§

Source§

impl PeripheralSignal<'_> for Level

Source§

impl PeripheralSignal<'_> for NoPin

Source§

impl<'d> PeripheralSignal<'d> for Flex<'d>

§Stability

This API is marked as unstable and is only available when the unstable crate feature is enabled. This comes with no stability guarantees, and could be changed or removed at any time.

Source§

impl<'d> PeripheralSignal<'d> for Input<'d>

§Stability

This API is marked as unstable and is only available when the unstable crate feature is enabled. This comes with no stability guarantees, and could be changed or removed at any time.

Source§

impl<'d> PeripheralSignal<'d> for Output<'d>

§Stability

This API is marked as unstable and is only available when the unstable crate feature is enabled. This comes with no stability guarantees, and could be changed or removed at any time.

Source§

impl<'d> PeripheralSignal<'d> for InputSignal<'d>

Source§

impl<'d> PeripheralSignal<'d> for OutputSignal<'d>

Source§

impl<'d, P> PeripheralSignal<'d> for P
where P: Pin + 'd,