Trait PeripheralOutput

Source
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§

Source§

impl PeripheralOutput<'_> for Level

Source§

impl PeripheralOutput<'_> for NoPin

Source§

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.

Source§

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.

Source§

impl<'d> PeripheralOutput<'d> for OutputSignal<'d>

Source§

impl<'d, P> PeripheralOutput<'d> for P
where P: OutputPin + 'd,