pub trait PeripheralSignal<'d>: Sealed { }
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§
impl PeripheralSignal<'_> for Level
impl PeripheralSignal<'_> for NoPin
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.
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.
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.