pub trait PeripheralSignal<'d>: Sealed { }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§
impl PeripheralSignal<'_> for Level
unstable only.impl PeripheralSignal<'_> for NoPin
unstable only.impl<'d> PeripheralSignal<'d> for Flex<'d>
unstable only.§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.
impl<'d> PeripheralSignal<'d> for Input<'d>
unstable only.§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.
impl<'d> PeripheralSignal<'d> for Output<'d>
unstable only.§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.
impl<'d> PeripheralSignal<'d> for InputSignal<'d>
unstable only.impl<'d> PeripheralSignal<'d> for OutputSignal<'d>
unstable only.impl<'d, P> PeripheralSignal<'d> for Pwhere
    P: Pin + 'd,
unstable only.