pub trait PeripheralOutput<'d>: Into<OutputSignal<'d>> + PeripheralSignal<'d> { }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".
Implementors§
impl PeripheralOutput<'_> for Level
Available on crate feature
unstable only.impl PeripheralOutput<'_> for NoPin
Available on crate feature
unstable only.impl<'d> PeripheralOutput<'d> for AnyPin<'d>
impl<'d> PeripheralOutput<'d> for Flex<'d>
Available on crate feature
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> PeripheralOutput<'d> for GPIO0<'d>
impl<'d> PeripheralOutput<'d> for GPIO1<'d>
impl<'d> PeripheralOutput<'d> for GPIO2<'d>
impl<'d> PeripheralOutput<'d> for GPIO3<'d>
impl<'d> PeripheralOutput<'d> for GPIO4<'d>
impl<'d> PeripheralOutput<'d> for GPIO5<'d>
impl<'d> PeripheralOutput<'d> for GPIO6<'d>
impl<'d> PeripheralOutput<'d> for GPIO7<'d>
impl<'d> PeripheralOutput<'d> for GPIO8<'d>
impl<'d> PeripheralOutput<'d> for GPIO9<'d>
impl<'d> PeripheralOutput<'d> for GPIO10<'d>
impl<'d> PeripheralOutput<'d> for GPIO11<'d>
impl<'d> PeripheralOutput<'d> for GPIO12<'d>
impl<'d> PeripheralOutput<'d> for GPIO13<'d>
impl<'d> PeripheralOutput<'d> for GPIO14<'d>
impl<'d> PeripheralOutput<'d> for GPIO15<'d>
impl<'d> PeripheralOutput<'d> for GPIO16<'d>
impl<'d> PeripheralOutput<'d> for GPIO17<'d>
impl<'d> PeripheralOutput<'d> for GPIO18<'d>
impl<'d> PeripheralOutput<'d> for GPIO19<'d>
impl<'d> PeripheralOutput<'d> for GPIO20<'d>
impl<'d> PeripheralOutput<'d> for GPIO21<'d>
impl<'d> PeripheralOutput<'d> for GPIO22<'d>
impl<'d> PeripheralOutput<'d> for GPIO23<'d>
impl<'d> PeripheralOutput<'d> for GPIO24<'d>
impl<'d> PeripheralOutput<'d> for GPIO25<'d>
impl<'d> PeripheralOutput<'d> for GPIO26<'d>
impl<'d> PeripheralOutput<'d> for GPIO27<'d>
impl<'d> PeripheralOutput<'d> for GPIO28<'d>
impl<'d> PeripheralOutput<'d> for Output<'d>
Available on crate feature
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> PeripheralOutput<'d> for OutputSignal<'d>
Available on crate feature
unstable only.