pub trait PeripheralOutput<'d>: Into<OutputSignal<'d>> + PeripheralSignal<'d> { }
Available on crate feature
unstable
only.Expand description
A signal that can be connected to a peripheral input and/or output.
Peripheral drivers are encouraged to accept types that implement this and
PeripheralInput
as arguments instead of pin types.
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§
impl PeripheralOutput<'_> for Level
impl PeripheralOutput<'_> for NoPin
impl<'d> PeripheralOutput<'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> PeripheralOutput<'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.